security iam role attach

Assigns Identities such as Users, Groups to Custom Role

Syntax

IMPORTANT
This operation is only supported on primary cluster group.
The iam role attach assigns Identities such as Users, Groups to Custom Role.
maprcli security iam role attach -name <Role Name> [ -users <User Names> -groups <Group Names> ]
Example:
maprcli security iam role attach -name Eng -users user1 -json
{
        "timestamp":1726571570127,
        "timeofday":"2024-09-17 04:12:50.127 GMT-0700 AM",
        "status":"OK",
        "total":0,
        "data":[
        
        ],
        "messages":[
                "Successfully attached the role 'Eng'."
        ]
}