UserManagerServicesGetUsersAndGroupsSimple Method Ingeniux CMS Web Services API

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: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<UsersGroupsSimpleResult> GetUsersAndGroupsSimple()

Return Value

Type: XHRServiceResponseGenericUsersGroupsSimpleResult

Object containing collections of Users and Groups

Examples

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

Reference