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.5.94
Syntax public XHRServiceResponseGeneric<UniqueObjectWithCount[]> SetBlockedUserGroupsToContentUnit(
string cuId,
string[] blockedGroupIds
)
Public Function SetBlockedUserGroupsToContentUnit (
cuId As String,
blockedGroupIds As String()
) As XHRServiceResponseGeneric(Of UniqueObjectWithCount())
public:
virtual XHRServiceResponseGeneric<array<UniqueObjectWithCount^>^>^ SetBlockedUserGroupsToContentUnit(
String^ cuId,
array<String^>^ blockedGroupIds
) sealed
abstract SetBlockedUserGroupsToContentUnit :
cuId : string *
blockedGroupIds : string[] -> XHRServiceResponseGeneric<UniqueObjectWithCount[]>
override SetBlockedUserGroupsToContentUnit :
cuId : string *
blockedGroupIds : string[] -> XHRServiceResponseGeneric<UniqueObjectWithCount[]>
Parameters
- cuId
- Type: SystemString
Unique id of the content unit - blockedGroupIds
- Type: SystemString
List of ids for blocked user groups
Return Value
Type:
XHRServiceResponseGenericUniqueObjectWithCountInformation of blocked groups for the content unit
Examples Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": [
{
"name": "Authors",
"id": "UserGroups\/1",
"count": 1
}
]
}
See Also