| 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 URI = "https://mydomain:9011/AgilePointServer/Admin/GetDomainUsers";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
postData.put("LDAPPath", "LDAP://OU=people,DC=mydomain,DC=com");
postData.put("Filter", "(objectCategory=person)");
return ops.POSTMethod(URI, postData.toString());
return "";
}
public string GetDomainUsers()
{
string jsonRequestData = "{
\"LDAPPath\":\"LDAP:\\/\\/OU=people,
DC=demo3,
DC=com\",
\"Filter\":\"(objectCategory=person)\"}";
string URL = "https://mydomain:9011/AgilePointServer/Admin/GetDomainUsers";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URL, jsonRequestData);
}
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