security login group role-mapping create
Add a role mapping
Availability: This command is available to cluster administrators at the admin privilege level.
Description
This command creates a mapping between a group and a role.
Parameters
-group-id <integer>
- Group ID-
The group ID for which the role mapping is being created. The group ID can be obtained by executing the command 'security login group show'.
-role <text>
- Role Name-
The name of the role to which the group is being mapped.
[-comment <text>]
- Comment-
This parameter optionally specifies any comments or notes related to the group to role mapping.
Examples
This command creates a role mapping for the group ID "1" to the role "admin" and a comment indicating it's 'Group of admins'.
cluster1::> security login group role-mapping create -group-id 1 -role admin -comment "Group of admins"