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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Update alternate usernames for multiple users

TWil24
7-Bedrock

Update alternate usernames for multiple users

I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS14

We're attempting to update Alternate usernames in our dev environment by using an infoengine task detailed in CS233456. It appears that case is not updating bulk users but a specific user. I was looking for a way to update multiple users. I created an infoengine group of WTUsers (small subset of all users) and tried using the foreach tag to parse through those users to update their alt username but that hasn't worked. I may be missing something and was wondering if there's anyone that could help with.

1 REPLY 1
SL_9582260
4-Participant
(To:TWil24)

Hi,

Try this code to update the Users details

1) Get the WTUSER Details from Windchill

2) wtuser.setXXX -- Set the Required Details

3. Use the below Method to Save the User Details
wtuser= (WTUser) OrganizationServicesHelper.manager.updatePrincipal(wtuser)

 

Regards,

Saravanakumar

Top Tags