move_object

Use the move_object command to move the selected object to the specified location. The new location must be in the same domain. You cannot use this command to move an object to another domain. You do not need to save the object after moving it.

Zone type

Not applicable

Syntax

move_object destination

Abbreviation

mvo

Options

This command takes no options.

Arguments

This command takes the following argument:

Argument Type Description

destination

string

Required. Specifies the distinguished name of the new location.

Return value

This command returns nothing if it runs successfully.

Example

The following commands move the ApacheAdmins group from the Groups container in the Global zone to the Groups container in the US zone.

select_object “cn=ApacheAdmins@demo.test,cn=Groups,cn=Global,cn=Zones,cn=Centrify,dc=demo,dc=test”
mvo “cn=Groups,cn=US,cn=Zones,ou=Centrify,dc=demo,dc=test”

Related commands

The following command performs actions related to this command: