You can change the account credentials (username and password) for CommCell users from the command line interface.
Note
User accounts for domains are not updated. For information on domains, see Domains Overview.
Procedure
-
Download the update_credentials_template.xml file to the computer where you will run the command.
-
On the command line, go to software_installation_directory/Base, and then type the following command:
qoperation execute -af path_to_update_credentials_template.xml -oldCredentials/userName "old_username" -newCredentials/userName "new_username" -newCredentials/password new_passwordwhere:
-
path_to_update_credentials_template/xml is the path the template file
-
old_user_name is the user name that you want to modify, in quotes
-
new_user_name is what you want to update the old username to, in quotes
Note
If you do not want to change the user name, enter the same value for old_user_name and new_user_name.
-
new_password is the new password that the user will use to log in
-
You can define parameter values in the XML file:
- Open the update_credentials_template.xml file and update the XML parameters.
Example
Changing the User Name and Password
The following command changes the username and password for a user named testUser:
qoperation execute -af C:\XML\UpdateCredentials.xml -oldCredentials/userName "testUser" -newCredentials/userName "mainUser" -newCredentials/password Pa$$w0rdChanging Only the Password
The following command only changes the password for a user named testUser:
qoperation execute -af C:\XML\UpdateCredentials.xml -oldCredentials/userName "testUser" -newCredentials/userName "testUser" -newCredentials/password Pa$$w0rd