delete_user
Deletes an existing Enterprise Manager administrator.
When a user is deleted, all jobs the user creates are stopped and deleted. Also, any blackouts the user creates are deleted. However, a user cannot be deleted if any blackouts the user creates are active at the time the call to delete the user is issued. This situation is considered an invalid state from which to delete a user. First, all of these active blackouts must be stopped, and a thwarted delete user call must be reissued.
Format
emcli delete_user -name=<user_name> [-new_object_owner=<user_name>] [-force] [ ] indicates that the parameter is optional
Options
-
name
Administrator name.
-
new_object_owner
Name of the administrator to assign the secure objects owned by the current administrator being deleted. If you do not specify this option, the secure objects are deleted that are owned by the administrator being deleted.
-
force
Deletes the administrator even if the administrator is currently logged in.
Examples
Example 1
This example deletes the Enterprise Manager administrator named sysman3
.
emcli delete_user -name=sysman3
Example 2
This example deletes the Enterprise Manager administrator named user1, and assigns all the secure objects owned by user1 to user5.