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()
Public Function GetGroupsForTreeMenu As XHRServiceResponseGeneric(Of UserGroupsForSetting)
public:
virtual XHRServiceResponseGeneric<UserGroupsForSetting^>^ GetGroupsForTreeMenu() sealed
abstract GetGroupsForTreeMenu : unit -> XHRServiceResponseGeneric<UserGroupsForSetting>
override GetGroupsForTreeMenu : unit -> XHRServiceResponseGeneric<UserGroupsForSetting>
Return Value
Type:
XHRServiceResponseGenericUserGroupsForSettingList 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
{
"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