| Methods / Administrative Service | |
REST
POST
Retrieves all the domain group objects.
https://[domain]:[port]/AgilePointServer/Admin/GetDomainGroups
https://[domain]:[port]/AgilePointService/Admin/GetDomainGroups
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
Filter |
|
LDAPPath |
|
$("#btnGetDomainGroups").click(function () {
var JSONObject = {
LDAPPath: "LDAP:\/\/DC=DEMO3,DC=com",
Filter: ""
};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/GetDomainGroups",
data: JSON.stringify(JSONObject)
});
});
public String GetDomainGroups(String LDAPPath, String Filter) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/GetDomainGroups";
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 KeyValue objects. If the specified group is not found, the output is null.
[{
"Key":"String content",
"Value":"String content"
}]
AgilePoint BPMS v5.0 R2 and higher