UserGroupSelectionServicesGetUserGroupsForWorkflowAdd Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<UserGroupSelectionData> GetUserGroupsForWorkflowAdd( string pageId, string workflowId, bool getGroups )
Collection of basic information of either Users and User Groups
{
"code": 0,
"error": null,
"message": {
"groupName": "",
"groups": [],
"users": [{
"name": "abusbin",
"active": false,
"email": "",
"lastLogin": null,
"userId": "INGENIUX\\abusbin"
}, {
"name": "author",
"active": false,
"email": "",
"lastLogin": "2014-01-20",
"userId": "ingeniux\\author"
}, {
"name": "t",
"active": false,
"email": "t@i.com",
"lastLogin": null,
"userId": "t"
}, {
"name": "Turtle Master",
"active": false,
"email": "awang@ingeniux.com",
"lastLogin": "2014-01-27",
"userId": "INGENIUX\\awang"
}]
}
}{
"code": 0,
"error": null,
"message": {
"groupName": null,
"groups": [{
"name": "Administrators",
"active": true,
"groupId": "UserGroup\/1",
"id": "UserGroup\/1",
"userRights": [32, 0]
}, {
"name": "Authors",
"active": true,
"groupId": "UserGroups\/1",
"id": "UserGroups\/1",
"userRights": [1355393, 511]
}],
"users": []
}
}If Page or Workflow Defintion doesn't exist, returns error status