CentraSite Documentation : CentraSite Administrator’s Guide : Users, Groups, Roles, and Permissions : Adding and Managing Users : Reassociate Users
Reassociate Users
You can change the association of a CentraSite user from one external user to another. This can be necessary, for example, if the responsibility for certain CentraSite assets moves from one person to another person in the same authentication domain. By reassociating the user, you can keep the name of the CentraSite user unchanged. Another possible use would be to handle user IDs when the default domain name changes; for example, when switching from operating system authentication to LDAP authentication.
CentraSite provides a command line tool named ReassociateUsers for this purpose. The following preconditions must all be met:
*There is a unique registry object for the old external user, and the old external user can be uniquely identified in the security configuration
*There is no registry object or security configuration for the new external user, the domain of the new external user exists in the security configuration, and a GUI configuration does not exist for the new external user.
*The reassociated user is a login user and is not the CentraSite administrator user who is running the utility.
The tool automatically grants the new external user the same permissions that were granted for the old external user.
The tool requires a Java 6 runtime. You must belong to the CentraSite Administrator role to use the tool. Before you run the tool, create a database backup.
To reassociate one user, go to the <CentraSiteInstallDir>/bin directory and run this command:
java -jar ReassociateUsers.jar CentraSite_database_URLadministrator_user_IDpasswordold_external_usernew_external_user
Example:
java -jar ReassociateUsers.jar http://localhost:53305/CentraSite/CentraSite DOMAIN\admin pAsSw0rD OLDDOMAIN\oldUser NEWDOMAIN\newUser
If you want to reassociate multiple users, create a text file and type one comma-separated pair of old and new external users per line. Then go to the <CentraSiteInstallDir>/bin directory and run this command:
java -jar ReassociateUsers.jar CentraSite_database_URLadministrator_user_IDpasswordfull_path_to_text_file
The reassociation may take some time. The tool’s progress is reported to standard output.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback