change_target_owner
Changes the owner of the target.
Format
emcli change_target_owner
-target="target_name:target_type"
[-target="target_name:target_type"]
-owner="current_target_owner_name"
-new_owner="new_owner_name"
[ ] indicates that the parameter is optionalOptions
-
target
Target name and target type to change the owner.
-
owner
Name of the existing owner of the target. The default value for this option is the currently logged in user.
-
new_owner
New owner name of the target.
Example
This example changes the ownership of two targets from admin to admin2.
emcli change_target_owner
-target="abc.oracle.com:host"
-target="testDBSystem:oracle_database"
-owner="admin1"
-new_owner="admin2"