UserManagerServicesGetUsersAndGroupsSimple Method
|
Retrieves collection basic information of all Users and User Groups.
User information is just Id and Name, Group information is Id, Name and collection of User's Ids
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<UsersGroupsSimpleResult> GetUsersAndGroupsSimple()
Public Function GetUsersAndGroupsSimple As XHRServiceResponseGeneric(Of UsersGroupsSimpleResult)
public:
virtual XHRServiceResponseGeneric<UsersGroupsSimpleResult^>^ GetUsersAndGroupsSimple() sealed
abstract GetUsersAndGroupsSimple : unit -> XHRServiceResponseGeneric<UsersGroupsSimpleResult>
override GetUsersAndGroupsSimple : unit -> XHRServiceResponseGeneric<UsersGroupsSimpleResult>
Return Value
Type:
XHRServiceResponseGenericUsersGroupsSimpleResultObject containing collections of Users and Groups
Examples
Sample JSON return
{
"code": 0,
"error": null,
"message": {
"groups": [{
"name": "Administrators",
"id": "UserGroup\/1",
"users": []
}, {
"name": "Authors",
"id": "UserGroups\/1",
"users": []
}],
"users": [{
"name": "abusbin",
"id": "User\/INGENIUX___abusbin"
}, {
"name": "author",
"id": "User\/ingeniux___author"
}, {
"name": "t",
"id": "User\/t"
}, {
"name": "Turtle Master",
"id": "User\/INGENIUX___awang"
}]
}
}
See Also