get_superrights
Gets super rights.
Path:
/lib/get_superrights.js
Parameters:
Name | Type | Description |
---|---|---|
excludeRight | Boolean |
Example Request:
POST /redrock/query
{
"Script":"@/lib/get_superrights.js",
"args":
{
"excludeRight" : ""
}
}
Example Response:
{
"success": true,
"Result": {
"IsAggregate": false,
"Count": 19,
"Columns": [
{
"Name": "Description",
"IsHidden": false,
"DDName": null,
"Title": "Description",
"DDTitle": null,
"Description": null,
"Type": 12,
"Format": null,
"Width": 38,
"TableKey": null,
"ForeignKey": null,
"TableName": null
},
{
"Name": "Path",
"IsHidden": false,
"DDName": null,
"Title": "Path",
"DDTitle": null,
"Description": null,
"Type": 12,
"Format": null,
"Width": 39,
"TableKey": null,
"ForeignKey": null,
"TableName": null
}
],
"FullCount": 19,
"Results": [
{
"Entities": [
{
"Type": "??",
"Key": "??",
"IsForeignKey": false
}
],
"Row": {
"Description": "Admin Portal Login",
"Path": "/lib/rights/adminportallogin.json"
}
},
{
"Entities": [
{
"Type": "??",
"Key": "??",
"IsForeignKey": false
}
],
"Row": {
"Description": "Application Management",
"Path": "/lib/rights/appman.json"
}
},
...
],
"ReturnID": ""
},
"Message": null,
...
}
Updated almost 5 years ago