cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to update users (username, password, organization etc) in bulk

LiuLiang
4-Participant

How to update users (username, password, organization etc) in bulk

I saw below request (updating username and password of users in bulk) created 5 years ago but seems PTC still hasn't planned to implement it yet. I wonder if anyone here has done something similar in Windchill 10 or 11 and how did you do it?

Actually I don't need to update username and password, but I would like to update tons of users to a different organization at once instead of manually changing each user's organization in Participant Administration UI.

Your information and sharing are highly appreciated.

 

https://www.ptc.com/en/support/article?n=CS59042

 

1 REPLY 1
glv
10-Marble
10-Marble
(To:LiuLiang)

You can try to use infoengine task to update these attributes of users.

such as

<%@page language="java" session="false" access="http|soap"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>
<ie:webject name="Update-Object" type="ACT">
 <ie:param name="INSTANCE" data="$(@FORM[]supporting-adapter[*])" delim="!" valueSeparator="!" default="com.ptcts.Ldap"/>
    <ie:param name="DBUSER"    data="cn=Manager"/>
    <ie:param name="PASSWD"    data="ts"/>
    <ie:param name="GROUP_OUT"    data="updated_user"/>
    <ie:param name="OBJECT"    data="uid=nametestnew,ou=people,cn=AdministrativeLdap,cn=Windchill_10.2,o=ptc"/>
    <ie:param name="MODIFICATION"   data="REPLACE"/>
 <ie:param name="FIELD"     data="uid=aaa"/>
 <ie:param name="FIELD"     data="uid=bbb"/>
 <ie:param name="FIELD"     data="uid=ccc"/>
 <ie:param name="FIELD"     data="uid=ddd"/>
 <ie:param name="FIELD"     data="uid=nametestnew"/>
</ie:webject>

Top Tags