| Methods / Group, Role, and Rights | |
REST
GET
Retrieves a role object by name.
https://[domain]:[port]/AgilePointServer/Admin/GetRole/[roleName]
https://[domain]:[port]/AgilePointService/Admin/GetRole/[roleName]
| Name | Description |
|---|---|
roleName |
|
$("#btnGetRole").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/
GetRole/Administrators",
type: "GET"
});
});
public String GetRole() {
String URI = "http://mydomain:9011/AgilePointServer/Admin/
GetRole/Administrators";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetRole()
{
string URL = "http://mydomain:9011/AgilePointServer/Admin/
GetRole/Administrators";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URL);
}
WFRole object with the specified role name.
{
"GetRoleResult":{
"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
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNN"
}
}
AgilePoint BPMS v5.0 R2 and higher