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

Syntax

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

Parameter Shortcut Description
-username -u Specifies the name of the user account from which the role is being removed.
-role -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.

Example

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