| Methods / Group, Role, and Rights | |
REST
POST
Retrieves the access rights for a specified user.
https://[domain]:[port]/AgilePointServer/Admin/GetAccessRights
https://[domain]:[port]/AgilePointService/Admin/GetAccessRights
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
userName |
|
$("#btnGetAccessRights").click(function () {
var JSONObject = {
userName: "demo3\\administrator"
};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/GetAccessRights",
data: JSON.stringify(JSONObject)
});
});
public String GetAccessRights(String userName) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/GetAccessRights";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
try {
JSONObject postData = new JSONObject();
postData.put("userName", userName);
return ops.POSTMethod(URI, postData.toString());
} catch (JSONException e1) {
e1.printStackTrace();
}
return "";
}
public string GetAccessRights(string username)
{
string URL = "http://mydomain:9011/AgilePointServer/Admin/GetAccessRights";
string jsonRequestData = "{\"userName\":\"" + username + "\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URL, jsonRequestData);
}
An array of integers that represent the access rights of the user.
[ 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 ]
AgilePoint BPMS v5.0 R2 and higher