security iam role info

The security iam role info gets the detailed information about a specific custom role.

Syntax

CLI
maprcli security iam role info -name <Role Name> -json
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/iam/role/info?<parameters>

Parameters

Parameter Description
name (Required) Name of the role.
Example:

Retrieve information for the engineering role

maprcli security iam role info -name engineering -json
{
        "timestamp":1725885213163,
        "timeofday":"2024-09-09 05:33:33.163 GMT-0700 AM",
        "status":"OK",
        "total":1,
        "data":[
                {
                        "name":"engineering",
                        "id":8,
                        "description":"An engineering role",
                        "identities":{
                                "users":"keycloakuser1,user2",
                                "groups":"fabric-manager"
                        }
                }
        ]
}

REST

curl -u <username> -X GET https://server.sj.us:8443/rest/security/iam/role/info?name=engineering