Creating a User Using the Command Line Interface

Use XML to create a user.

You can specify parameter values on the command line or in the XML template. For more information on command line parameters and XML elements, see Command Line - Syntax.


  1. Run the qlogin command to log on to the CommServe computer.
  2. Download the create_user_template.xml file to the computer where you will run the command.
  3. On the command line, go to software_installation_directory/Base and type the following command:

    qoperation execute -af create_user_template.xml -userEntity/userName user_name -password password

    For information on additional parameters, see XML Parameters for User Operations.

  4. Run the qlogout command to log off the CommServe computer.

You can also define parameter values in the XML file:


The following command creates a new user who is part of the master user group. In this example, the parameters are listed on the command line:

qoperation execute -af create_user_template.xml -userEntity/userName jsmith -password P123str -fullName 'Jane Smith' -associatedUserGroups/userGroupName master -email jsmith@mycompany.com -description 'backup admin'