Skip to main content
A newer release of this product is available.

security login role show

Contributors
Suggest changes

Show access control roles

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The security login role show command displays the following information about access-control roles:

  • Role name

  • Command or command directory to which the role has access

  • Access level (none, read-only, or all)

  • Query (detailed view only)

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <vserver name>] - Vserver

Selects the roles that match this parameter value.

[-role <text>] - Role Name

Selects the roles that match this parameter value. If this parameter and the -cmddirname parameter are both used, the command displays detailed information about the specified access-control role.

[-cmddirname <text>] - Command / Directory

Selects the roles that match this parameter value. If this parameter and the -role parameter are both used, the command displays detailed information about the specified access-control role.

[-access {none|readonly|read_create|read_modify|read_create_modify|all}] - Access Level

Selects the roles that match this parameter value.

[-query <query>] - Query

Selects the roles that match this parameter value.

Examples

The example below displays information about all access-control roles:

cluster1::> security login role show

Vserver    RoleName      Command/Directory                Query AccessLevel
---------- ------------- -------------------------------- ----- -----------
vs         vsadmin       DEFAULT                                none
vs         vsadmin       dashboard health vserver               readonly
vs         vsadmin       job                                    readonly
vs         vsadmin       job schedule                           none
vs         vsadmin       lun                                    all
vs         vsadmin       network connections                    readonly
cluster1   admin         DEFAULT                                all
cluster1   readonly      DEFAULT                                readonly
cluster1   readonly      volume                                 none