Loading...

Setting Owners on a Client or Client Computer Group Using the Command Line Interface

You can use XML to:

  • Add an existing user to a client computer or a client computer group as the client owner

    The client owner has access to the client or the client computer group and can perform backup and restore operations. A client owner receives all of the permissions designated by the administrator.

  • Remove a client owner from a client computer or a client computer group
  • Replace all client owners on a client or a client computer group with a different client owner

Procedure

  1. Download one of the following files to the computer from where you will run the command:
  2. Open the .xml file and update the XML parameters listed in the table below.
  3. Run the qlogin command to log on to the CommServe computer.
  4. From software_installation_directory/Base type one of the following commands after substituting the XML parameters:

    qoperation execute -af user_to_client.xml

    qoperation execute -af user_to_clientgroup.xml

  5. Verify the user is a client owner on the client or the client computer group:
    1. From the CommCell Browser, right-click the client and then click Properties.

      The Client Computer Properties dialog box appears.

    2. Click the Security tab.
    3. The user appears in the Users pane of the Client Owners section.

The following table displays the XML parameters needed before running the qoperation command:

Parameter

Description of Parameter Values

clientName

Use with the user_to_client.xml template. Names of the client computers to modify.

To modify multiple clients, add an <entity> and a <clientName> element for each client, for example:

<entity>
  <clientName>client1</clientName>
</entity>
<entity>
  <clientName>client2</clientName>
</entity>

clientGroupName

Use with the user_to_clientgroup.xml template. Names of the client computer groups to modify.

To modify multiple client computer groups, add an <entity> and a <clientGroupName> element for each client computer group, for example:

<entity>
  <clientGroupName>clientGroup1</clientGroupName>
</entity>
<entity>
  <clientGroupName>clientGroup2</clientGroupName>
</entity>

clientOwners

Name of the user to add as a client owner.

clientOwnersOperationType

The operation to perform on the user. Valid values are:

  • ADD, to add the user as a client owner
  • DELETE, to remove the user as the client owner
  • OVERWRITE, to replace all client owners on a client or client computer group with a different client owner. For example: owner2 and owner3 are client owners on client1. Use the "overwrite" operation to replace these client owners with owner4.

 

Last modified: 8/17/2018 6:18:55 PM