loadFromFile fails to add Active Directory users to a Windchill group
I need to add many Active Directory users into various Windchill LDAP groups. (Intralink 9.1 M060)
As a test, I created my .csv file with one user (me):
UserGroup,,WI_Designers,gc1001,EnterpriseLdap
I then ran loadFromFile and it worked perfectly.
However, when I tried again with different users, it usually failed with this set of ambiguous error messages:
Error detected in createUserGroup <ab1234 wi_designers=">
Loader method wt.load.LoadUser.createUserGroup reported a failure
No objects were imported due to the error.
Unexpected problem in export/import process.
Nested exception is: wt.util.WTException: Loader method wt.load.LoadUser.createUserGroup reported a failure Error loading data from file.
data file = <d:\windchill_wi\loadfiles\wi_group_members.xml,d:\windchill_wi\loadfiles\wi_group_members.xml>
map file = <null,null>
token separator = <null,null>
method = <null,create>
user = <null>
Command line = <{CONT_PATH=/wt.inf.container.OrgContainer=Williams International}>
Unexpected problem in export/import process.
Nested exception is: wt.util.WTException: Loader method wt.load.LoadUser.createUserGroup reported a failure
With some experimenting, I discovered that the reason it worked for some AD users was that I had previously logged into WIndchill as that user or had manually added the user to a group (using the UI). In other words: Windchill already knew of the AD user. However, in each case where the above error occurred, it was a user that had never been "introduced" to Windchill. The user had never logged in, nor had been manually added any group.
What must I do to overcome this issue?
Gerry
