security iam role mapping
Displays mapping information of the specified Identity (user/group) to the assigned List of Custom Roles.
Syntax
- CLI
-
NOTEMultiple types of identities (users, groups), and number of identities (comma-separated names) can be specified together in the same command.
maprcli security iam role mapping [ -users <User Names> -groups <Group Names> ]
Parameters
Parameter | Description |
---|---|
users |
Name of the Users. |
groups |
Name of the Groups. |
Example
maprcli security iam role mapping -users mapr -groups test1,test2 -json
{
"timestamp":1727765455055,
"timeofday":"2024-09-30 11:50:55.055 GMT-0700 PM",
"status":"OK",
"total":3,
"data":[
{
"IdType":"USER",
"IdName":"mapr",
"IamRoles":"role2,my-role"
},
{
"IdType":"GROUP",
"IdName":"test1",
"IamRoles":"my-role"
},
{
"IdType":"GROUP",
"IdName":"test2",
"IamRoles":""
}
]
}