Home >

LunaSH Command Reference Guide > LunaSH Commands > user > user role clear

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.

Syntax

user role clear -username <clientname>

Parameter Shortcut Description
-username -u Specifies the the name of the user account to which the role is being removed.

Example

lunash:>user role clear  -username indigo
 
User indigo was successfully modified.
 
Command Result : 0 (Success)