security iam policy mapping

Displays the mapping information of a specified Identity (user/group/role) to an assigned list of Identity Access Management (IAM) policy.

Syntax

CLI
maprcli security iam policy mapping [ -users <User Names> -groups <Group Names> -roles <Role Names> ]

Parameters

Parameter Description
users List of Users
groups List of Groups
roles Name of Roles

Example

maprcli security iam policy mapping -users user2,user3 -json
{
        "timestamp":1726218942771,
        "timeofday":"2024-09-13 02:15:42.771 GMT-0700 AM",
        "status":"OK",
        "total":2,
        "data":[
                {
                        "IdType":"USER",
                        "IdName":"user3",
                        "IamPolicies":"AllowVol,DenyVol"
                },
                {
                        "IdType":"USER",
                        "IdName":"user2",
                        "IamPolicies":"AllowVol"
                }
        ]
}