Removing Owners from a Client Using the Command Line Interface

Updated

Use XML to remove client owners from a client computer.

Procedure

  1. Download the modify_owners_list.xml file 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 the following command after substituting the XML parameters:

    qoperation execute -af modify_owners_list.xml
        
    

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

Parameter

Description of Parameter Values

clientName

Name of the client computers for which you want to modify the list of client owners.

For example: If you wish to associate a user group with client1, client2 and client_x then you must add the following:

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

clientOwners

Name of the client owners for which you want to empty the contents.

clientOwnersOperationType

Option to determine whether to add, delete or overwrite the client owner list. Valid values are:

  • ADD, to add users to the existing list of client owners.

  • DELETE, to delete users from the existing list of client owners.

  • OVERWRITE, to clear the existing client owners and replace with the specified owner. For example: You have user2 and user3 already associated with client1 and listed as client owners, and you want to add user4 to the list of client owners. This operation adds user4 to the client owners list and removes any previous owners.

Was this page helpful?