| Methods / Group, Role, and Rights | |
REST
POST
Adds a user as a member of a group.
https://[domain]:[port]/AgilePointServer/Admin/AddGroupMember
https://[domain]:[port]/AgilePointService/Admin/AddGroupMember
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
ClientData |
|
Description |
|
Enabled |
|
GroupName |
|
UserName |
|
These properties are based on the class AddGroupMemberHelper
$("#btnAddGroupMember").click(function () {
var JSONObject = {
GroupName: "test1234", Description: "test123", UserName: "demo3\\brian.lucas",
ClientData: null, Enabled: true
};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/AddGroupMember",
data: JSON.stringify(JSONObject)
});
});
public String AddGroupMember() {
String URI = "https://mydomain:9011/AgilePointServer/Admin/AddGroupMember";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
postData.put("GroupName", "Managers");
postData.put("Description", "Managers");
postData.put("UserName", "demo3\\brian.lucas");
postData.put("ClientData", "");
postData.put("Enabled", "true");
return ops.POSTMethod(URI, postData.toString());
return "";
}
public string AddGroupMember()
{
string URL = "https://mydomain:9011/AgilePointServer/Admin/AddGroupMember";
string jsonRequestData = "{
\"GroupName\":\"" + "Managers" + "\",
\"Description\":\"" + "test" + "\",
\"UserName\":\"" + "demo3\\brian.lucas" + "\",
\"ClientData\":\"" + null + "\",
\"Enabled\":\"true\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URL, jsonRequestData);
}
WFGroupMember object that contains the data for the new group member.
{
"ClientData": null
"CreatedBy": "DEMO3\administrator"
"CreatedDate": "\/Date(928149600000)\/",
"Description": "test123"
"Enabled": true
"Member": "demo3\\brian.lucas"
"Name": "test1234"
}
AgilePoint BPMS v5.0 R2 and higher