| Methods / Administrative Service | |
REST
POST
Query the list of registered users in AgilePoint.
https://[domain]:[port]/AgilePointServer/Admin/QueryRegisterUsersUsingSQL
https://[domain]:[port]/AgilePointService/Admin/QueryRegisterUsersUsingSQL
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
sqlWhereClause |
|
$("#btnQueryRegisterUsersUsingSQL").click(function () {
var JSONObject = { sqlWhereClause: "WF_REG_USERS.MANAGER='demo3\\susan.miller'" };
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/QueryRegisterUsersUsingSQL",
data: JSON.stringify(JSONObject)
});
});
public String QueryRegisterUsersUsingSQL(String sqlWhereClause) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/QueryRegisterUsersUsingSQL";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
try {
JSONObject postData = new JSONObject();
postData.put("sqlWhereClause", sqlWhereClause);
return ops.POSTMethod(URI, postData.toString());
} catch (JSONException e1) {
e1.printStackTrace();
}
return "";
}
public string QueryRegisterUsersUsingSQL(string RegisteredUser)
{
string URI = "http://mydomain:9011/AgilePointServer/Admin/QueryRegisterUsersUsingSQL";
string jsonRequestData = "{\"sqlWhereClause\":\""+RegisteredUser+"\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URI, jsonRequestData);
}
An array of registered users.
[{
"Department": "Administrator"
"EmailAddress": "admin@mycompany.com"
"FullName": "administrator"
"Locale": "en-US"
"Manager": "demo3\susan.miller"
"OnlineContact": "admin@mycompany.com"
"RefID": ""
"RegisteredDate": "\/Date(928149600000)\/"
"TimeZone": ""
"Title": ""
"UALExpirationDate": " \/Date(928149600000)\/"
"UALNeverExpires": false
"UserName": "demo3\administrator"
}]
AgilePoint BPMS v5.0 R2 and higher