transferownership


Use this command to move objects (such as saved searches, data collectors, collection profiles, and so on) created by one user to another user from the same user group and optionally delete the initial user. The user to which you want to move the objects must have the same (or higher) roles as compared to the initial user.

After you successfully run this command, a summary of transferred objects (including the count) is displayed.

To understand the syntax and examples, see:

Syntax

Note

Prefix this command with the following, as appropriate:

  • For Windows: itda.bat
  • For Linux: ./itda.sh

transferownership -d <hostName> -p <portNumber> -u
<userName> -w <password> -fromUser <initialUserName>
-toUser <targetUserName> -deleteUser <Boolean value> [-l <locale>] [-v] [-s]

  • Angle brackets (< >) indicate a variable value that needs to be user defined.
  • Square brackets ([ ]) indicate optional parameters.

The following table describes the parameters used in the syntax:

Example inputs

The following example provides the input for moving the data collectors starting with the names punWin and punLin:

transferownership -u admin -w admin12345 -d localhost
-p 9797 -fromUser userOne -toUser userTwo deleteUser false

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*