security login role modify
Modify an access control role
Availability: This command is available to cluster administrators at the admin privilege level.
Parameters
-vserver <vserver name> - Vserver
This optionally specifies the Vserver name associated with the role.
-role <text> - Role Name
This specifies the role that is to be modified.
-cmddirname <text> - Command / Directory
This specifies the command or command directory to which the role has access. If you want the default setting, use the special string
"DEFAULT" as the value.
[-access <Access>] - Access Level
This optionally specifies a new access level for the role. Possible access level settings are none, read-only, and all. The default setting is
all.
[-query <query>] - Query
This optionally specifies the object that the role is allowed to access. The query object must be applicable to the command or directory name specified by -cmddirname. The query object must be enclosed in double quotation marks (""), and it must be a valid field name.
Examples
The following command modifies an access-control role with the role name read-only and the command access DEFAULT to have the access level read-only for Vserver vs:
cluster1::> security login role modify -role readonly -cmddirname DEFAULT -access readonly -vserver vs