| Methods / Group, Role, and Rights | |
REST
GET
Retrieves a list of all roles in the system.
https://[domain]:[port]/AgilePointServer/Admin/GetRoles
https://[domain]:[port]/AgilePointService/Admin/GetRoles
| Name | Description |
|---|---|
| None | Not Applicable |
$("#btnGetRoles").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/GetRoles",
type: "GET"
});
});
public String GetRoles() {
String URI = "http://mydomain:9011/AgilePointServer/Admin/GetRoles";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetRoles()
{
string URL = "http://mydomain:9011/AgilePointServer/Admin/GetRoles";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URL);
}
An array of WFRole objects that includes all roles.
{
"GetRolesResult":[{
"CreatedBy: "DEMO3\\administrator"
"CreatedDate": "\/Date(928149600000)\/",
"Description: "Administrators have complete access to maintain system"
"Enabled": true
"LastModifiedBy": "DEMO3\\administrator"
"LastModifiedDate": "\/Date(928149600000)\/",
"Name": "Administrators"
"RightFlags": "YYYYYYYYYYYYYYYYYYYYYYYY
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNN"
}
{
"CreatedBy": "DEMO3\\HR"
"CreatedDate": "\/Date(928149600000)\/",
"Description": "Administrators have complete access to maintain system"
"Enabled": true
"LastModifiedBy": "DEMO3\\administrator"
"LastModifiedDate": "\/Date(928149600000)\/",
"Name: "Administrators"
"RightFlags": "YYYYYYYYYYYYYYYYYYYYYYYY
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNN"
}
]}
AgilePoint BPMS v5.0 R2 and higher