Click or drag to resize

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.6.492
Syntax
public XHRServiceResponseGeneric<UsersGroupsSimpleResult> GetUsersAndGroupsSimple()

Return Value

XHRServiceResponseGenericUsersGroupsSimpleResult

Object containing collections of Users and Groups

Example
Sample JSON return
JavaScript
{
    "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