Command Reference > pmrep Command Reference > ChangeOwner
  

ChangeOwner

Changes the owner name for a global object.
The ChangeOwner command uses the following syntax:
ChangeOwner

-o <object_type>

[-t <object_subtype>]

-n <object_name>

-u <new_owner_name>

[-s <security_domain>]
The following table describes pmrep ChangeOwner options and arguments:
Option
Argument
Description
-o
object_type
Required. Type of the object. You can specify folder, label, deploymentgroup, query, or connection.
-t
object_subtype
Optional. Type of object query or connection object. Not required for other object types. For more information about valid subtypes, see AssignPermission.
-n
object_name
Required. Name of the object. You can use special characters for the object name.
-u
new_owner_name
Required. Name of the changed owner. The changed owner name must be a valid user account in the domain.
-s
security_domain
Required if you use LDAP authentication. Name of the security domain that the new owner belongs to. Default is Native.