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.3.169
Syntax
public XHRServiceResponseGeneric<UniqueObjectWithCount[]> SetBlockedUserGroupsToContentUnit(
	string cuId,
	string[] blockedGroupIds
)

Parameters

cuId
Type: SystemString
Unique id of the content unit
blockedGroupIds
Type: SystemString
List of ids for blocked user groups

Return Value

Type: XHRServiceResponseGenericUniqueObjectWithCount

Information of blocked groups for the content unit

Examples

Sample JSON return

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