security login group role-mapping show
Display the role mapping
Availability: This command is available to cluster administrators at the admin privilege level.
Description
This command displays the configured group to role mappings.
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
-instanceparameter, the command displays detailed information about all fields. [-group-id <integer>]- Group ID-
Selects the group role mapping associated with the group ID that matches this parameter value.
[-role <text>]- Role Name-
Selects the group role mapping associated with the role name that matches this parameter value.
[-comment <text>]- Comment-
Selects the group role mapping associated with the comment that matches this parameter value.
[-scope {svm|cluster}]- Cluster or SVM-
Selects the group role mapping associated with the scope that matches this parameter value.
Examples
The example below displays the group to role mapping for the group ID 1 and the role "admin".
cluster1::> security login group role-mapping show -group-id 1 -role admin
Group ID: 1
Role Name: admin
Comment: -
Cluster or SVM: cluster