app_access

Gets app access.

Path
/lib/app_access.js

Parameters:

NameTypeDescription
appDisplayNameStringThe app's displayname.

Example Request:

POST /redrock/query

{  
   "Script":"@/lib/app_access.js",
   "Args":{  
   	  "appDisplayName": "test",
      "PageNumber":1,
      "PageSize":100,
      "Limit":100,
      "SortBy":"",
      "direction":"False",
      "Caching":-1
   }   
}

Example Response:

{
    "success": true,
    "Result": {
        "IsAggregate": false,
        "Count": 2,
        "Columns": [
            {
                "Name": "AppName",
                "IsHidden": false,
                "DDName": null,
                "Title": "AppName",
                "DDTitle": null,
                "Description": null,
                "Type": 12,
                "Format": null,
                "Width": 49,
                "TableKey": null,
                "ForeignKey": null,
                "TableName": null
            },
            {
                "Name": "Role",
                "IsHidden": false,
                "DDName": null,
                "Title": "Role",
                "DDTitle": null,
                "Description": null,
                "Type": 12,
                "Format": null,
                "Width": 29,
                "TableKey": null,
                "ForeignKey": null,
                "TableName": null
            },
            {
                "Name": "User",
                "IsHidden": false,
                "DDName": null,
                "Title": "User",
                "DDTitle": null,
                "Description": null,
                "Type": 12,
                "Format": null,
                "Width": 32,
                "TableKey": null,
                "ForeignKey": null,
                "TableName": null
            },
            {
                "Name": "UserDisplayName",
                "IsHidden": false,
                "DDName": null,
                "Title": "UserDisplayName",
                "DDTitle": null,
                "Description": null,
                "Type": 12,
                "Format": null,
                "Width": 24,
                "TableKey": null,
                "ForeignKey": null,
                "TableName": null
            }
        ],
        "FullCount": 2325,
        "Results": [
            {
                "Entities": [
                    {
                        "Type": "??",
                        "Key": "??",
                        "IsForeignKey": false
                    }
                ],
                "Row": {
                    "AppName": ".extendr",
                    "Role": "Everybody"
                }
            },
            {
                "Entities": [
                    {
                        "Type": "??",
                        "Key": "??",
                        "IsForeignKey": false
                    }
                ],
                "Row": {
                    "AppName": "000SAML",
                    "Role": "Everybody"
                }
            }
        ],
        "ReturnID": ""
    },
    "Message": null,
    "MessageID": null,
    "Exception": null,
    "ErrorID": null,
    "ErrorCode": null,
    "InnerExceptions": null
}