user role clear
Clears all roles assigned to an account. This command is available only to the admin account and cannot be used to modify the admin, monitor or operator accounts. If user has only one role, then the effect is the same as the user role delete command. This command is infrastructure for possible future functionality.
User Privileges
Users with the following privileges can perform this command:
>Admin
Syntax
user role clear -username <username>
Argument(s) | Short | Description |
---|---|---|
-username <username> | -u | Specifies the name of the user account from which the role is being removed. |
-force | -f | Force the action. Useful for scripting. |
Example
lunash:>user role clear -username james WARNING !! This command will delete all james's role assignments. If you are sure that you wish to proceed, then enter 'proceed', otherwise this command will abort. > proceed Proceeding... Role list cleared for user James Command Result : 0 (Success)