lock_user_account
Locks or unlocks an Enterprise Manager administrator's account.
Format
Standard Mode
emcli lock_user_account
-name="name"
[-unlock]
Interactive or Script Mode
lock_user_account(
name="name"
[,unlock=True/False] )[ ] indicates that this option is optionalOptions
-
name
The name of the administrator.
-
unlock
Unlocks the administrator's account.
Exit Codes
0 if successful. A non-zero value indicates that verb processing was unsuccessful.
Examples
This section contains the following examples.
Example 1
The following example locks the account of the administrator with the name user.
Standard Mode
emcli lock_user_account
-name=user
Interactive or Script Mode
emcli lock_user_account(name-"user")
Example 2
The following example unlocks the account of the administrator with the name user.
Standard Mode
emcli lock_user_account
-name=user -unlock
Interactive or Script Mode
emcli lock_user_account(name="user"),
unlock="True"