all_roles_with_members

Gets all roles with members.

Path:
/lib/all_roles_with_members.js

Parameters:

Example Request:

POST /redrock/query

{  
   "Script":"@/lib/all_roles_with_members.js"
}

Example Response:

{
    "success": true,
    "Result": {
        "IsAggregate": false,
        "Count": 60,
        "Columns": [
            {
                "Name": "Id",
                "IsHidden": false,
                "DDName": null,
                "Title": "Id",
                "DDTitle": null,
                "Description": null,
                "Type": 12,
                "Format": null,
                "Width": 36,
                "TableKey": null,
                "ForeignKey": null,
                "TableName": null
            },
            ...
        ],
        "FullCount": 60,
        "Results": [
            {
                "Entities": [
                    {
                        "Type": "??",
                        "Key": "??",
                        "IsForeignKey": false
                    }
                ],
                "Row": {
                    "Id": "1e2788...",
                    "Name": "marktest",
                    "Members": [
                        "(User)[email protected]"
                    ]
                }
            },
            {
                "Entities": [
                    {
                        "Type": "??",
                        "Key": "??",
                        "IsForeignKey": false
                    }
                ],
                "Row": {
                    "Id": "sysadmin",
                    "Name": "System Administrator",
                    "Description": "The primary administrative role for the Admin Portal. Users in this role can delegate specific administrative rights to other roles who require more limited administrative access.",
                    "Members": [
                        "(User)[email protected]",
                        ...
                    ]
                }
            }
        ],
        "ReturnID": ""
    },
    "Message": null,
    "MessageID": null,
    "Exception": null,
    "ErrorID": null,
    "ErrorCode": null,
    "InnerExceptions": null
}