User guide
Chapter 7: Using the Command Line Interface
212
config:# role create "<name>" <privilege1>:<argument1>,<argument2>...;
<privilege2>:<argument1>,<argument2>...;
<privilege3>:<argument1>,<argument2>...;
...
Variables:
<name> is a string comprising up to 32 ASCII printable characters.
The <name> variable must be enclosed in quotes when it contains
spaces.
<privilege1>, <privilege2>, <privilege3> and the like are names of the
privileges assigned to the role.
<argument1>, <argument2> and the like are arguments set for a
particular privilege.
Example
The following command creates a new role and assigns privileges to the
role.
config:# role create tester firmwareupdate;viewEventSettings
Results:
A new role "tester" is created.
Two privileges are assigned to the role: firmware update and view
event settings.
Modifying a Role
You can modify diverse parameters of an existing role, including the
privileges assigned to the role.
To modify a role's description, use this command syntax:
config:# role modify "<name>" description <description>
To add privileges to a specific role, use this command syntax:
Multiple privileges should be separated with a semi-colon.
config:# role modify "<name>" addPrivileges
<privilege1>;<privilege2>;<privilege3>...
If a specific privilege contains any arguments, add a colon and then
the argument(s) after the privilege.