I need to bulk create 1200+ enterprise user accounts (currently in an XLS), before I start working on the codeto do this I would like to know if anyone has already created this utility and is willing to share.
Might be easier to add to delimited file and use the Import Wizard to bulk add. Have accomplished this successfully with several thousand users in the past.
There is a guide for the import wizard that gives you the spec for the file. It’s straightforward.
yes, I think the best way, at it has been said, is using the import wizard and a text file. have a look on documentation about the text file format to provide. Regards
Depends on the version of XI. In XI R2, go to the Admin Tools page and bulk update groups of users. In XI 3.x, it’s one of the right click options on a group in the CMC. You’ll be doing yourself a favor if all these users are in a group by themselves, but more so if you do this in the import file using the Import Wizard.
The problem with Import Wizard is how to set the password, the default is blank, which is security risk. In my environment, we use trusted authentication over IIS, so enterprise password is not used. I wrote a vba code to randomize the user passwords so users must use WinAD authentication.
yeah … fisher is right… … I think I may have written VBA code to import from Excel and also have “force password change on next logon”… if you need help… please contact me via private message
I wish I could PM you RedLine90 but it says I don’t have enough posts to do that yet. I would VERY much be interested in your script that automates what you said it does. If I could get this script from you I would be VERY grateful. Thanks again!
IInfoObject iInfoObject = (IInfoObject) newInfoObjects.get(0);
IUser BOEUser = (IUser) iInfoObject;
//Title means user account name as ID
BOEUser.setTitle ("End User");
//specfy user type as NAMED/CONCURRENT
BOEUser.setConnection(IUser.NAMED);
BOEUser.setNewPassword("Password");
infoStore.commit (newInfoObjects);
}catch(Exception e){
e.prinstacktrace();
}
}
You can read file for entire users or some other location and loop over for all users.
Hi RadN,
Sorry, I’m not familiar with pushing scripting into BO.
Do you mean you did as batch file in java routine for you to execute the script? Can I say that I must have the Java expertise to do this? And is there any URL/documents a novice could refer to?