get_user_roles
Gets all user roles.
Path:
/lib/get_user_roles.js
Parameters:
Name | Type | Description |
---|---|---|
username | String | The name of the user to retrieve roles for. |
Example Request:
POST /redrock/query
{
"Script":"@/lib/get_user_roles.js",
args : {
"username" : "[email protected]"
}
}
Example Response:
{
"success": true,
"Result": {
"IsAggregate": false,
"Count": 0,
"Columns": [],
"FullCount": 0,
"Results": [],
"ReturnID": ""
},
"Message": null,
"MessageID": null,
"Exception": null,
"ErrorID": null,
"ErrorCode": null,
"InnerExceptions": null
}
Updated about 5 years ago