user role delete
Delete a role from a user account. This command is available only to the original ‘admin’ account and cannot be used to modify the admin, monitor, operator, or audit accounts.
User Privileges
Users with the following privileges can perform this command:
>Admin
Syntax
user role delete -role <rolename> -username <username>
Argument(s) | Shortcut | Description |
---|---|---|
-username <username> | -u | Specifies the name of the user account from which the role is being removed. |
-role <rolename> | -r |
The role name of the role being removed from the user. The available roles, in descending order of capability are admin, operator and monitor, and the special role audit. Valid values: admin,operator,monitor,audit |
Example
lunash:>user role delete -username cindy -role admin
User cindy was successfully modified.
Command Result : 0 (Success)