Home >

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

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 or operator accounts.

Syntax

user role delete -role <clientname> -username <clientname>

Parameter Shortcut Description
-username -u Specifies the the name of the user account to which the role is being removed.
-role -r The user name of the role being removed from the user. The available roles, in descending order of capability are admin, operator and monitor.

Example

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