Click or drag to resize

PresentationsAdminServicesSetBlockedUserGroupsToContentUnit Method


Sets a list of user groups that are not allow to use a given content unit

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<UniqueObjectWithCount[]> SetBlockedUserGroupsToContentUnit(
	string cuId,
	string[] blockedGroupIds
)

Parameters

cuId  String
Unique id of the content unit
blockedGroupIds  String
List of ids for blocked user groups

Return Value

XHRServiceResponseGenericUniqueObjectWithCount

Information of blocked groups for the content unit

Example

Sample JSON return

JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": [
        {
            "name": "Authors",
            "id": "UserGroups\/1",
            "count": 1
        }
    ]
}
See Also