Click or drag to resize

SystemOptionsServicesGetGroupsForTreeMenu Method


Retrieves complete list of User Groups for Site Tree Context Menu items settings. Each Group item indicates if override profiles exists for this Group.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<UserGroupsForSetting> GetGroupsForTreeMenu()

Return Value

Type: XHRServiceResponseGenericUserGroupsForSetting

List of User Groups. Each item contains also User Rights compond numbers and whether there is a override profile for this Group in the "_checked" property.

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "groups": [{
            "name": "Administrators",
            "id": "UserGroup\/1",
            "_checked": false,
            "active": true,
            "groupId": "UserGroup\/1",
            "userRights": [32, 0]
        }, {
            "name": "Authors",
            "id": "UserGroups\/1",
            "_checked": true,
            "active": false,
            "groupId": "UserGroups\/1",
            "userRights": [1355393, 511]
        }]
    }
}
See Also