SystemOptionsServicesGetGroupsForTinyMCESettings Method

Ingeniux CMS Web Services API

Retrieves the User Groups that have a XHTML editor specific settings defined for it

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<UserGroupsForSetting> GetGroupsForTinyMCESettings(
	SettingGetParam data
)

Parameters

data
Type: SettingGetParam

Object containing the settings name to retrieve the User Groups, that have the specific settings defined

Examples

Sample JSON input
JavaScript
{
    "data": {
        "settingName": "Fonts"
    }
}

Return Value

Type: XHRServiceResponseGenericUserGroupsForSetting

The collection of User Groups basic information. These Groups that specific override defined for the given settings name

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": false,
            "active": false,
            "groupId": "UserGroups\/1",
            "userRights": [1355393, 511]
        }]
    }
}
Remarks

XHTML editor has a default setting for every User Group out of box. However, administrators can create Group Profiles that will override the default settings in a specific area.

There are following settings name that are allowed:

Default, Plugins, BlockFormats, Fonts, FontSizes, TableCssClass, ImageCssClass, LinkCssClass, RemoveButtons, CommandRow, ContentCssFile

Any other settings name will be invalid, and causes return of error status.

See Also

Reference