| Methods / Administrative Service | |
REST
POST
Retrieves all the user information in the domain that AgilePoint Server connects. It could be a local Windows system user, or a domain controller on the network.
https://[domain]:[port]/AgilePointServer/Admin/GetDomainUsers
https://[domain]:[port]/AgilePointService/Admin/GetDomainUsers
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
Filter |
|
LDAPPath |
|
$("#btnGetDomainUsers").click(function () {
var JSONObject = {
LDAPPath: "LDAP://OU=people,DC=mydomain,DC=com",
Filter: "(objectCategory=person)"
};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/GetDomainUsers",
data: JSON.stringify(JSONObject)
});
});
public String GetDomainUsers(String LDAPPath, String Filter) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/GetDomainUsers";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
try {
JSONObject postData = new JSONObject();
postData.put("LDAPPath", LDAPPath);
postData.put("Filter", Filter);
return ops.POSTMethod(URI, postData.toString());
} catch (JSONException e1) {
e1.printStackTrace();
}
return "";
}
Array of DomainUser objects. If the specified group does not exist, the return value is null.
[{
"Department":"String content",
"EMailAddress":"String content",
"FullName":"String content",
"Manager":"String content",
"MemberOf":["String content"],
"Title":"String content",
"UserName":"String content"
}]
AgilePoint BPMS v5.0 R2 and higher