PresentationsAdminServicesSetBlockedUserGroupsToContentUnit Method
|
Sets a list of user groups that are not allow to use a given content unit
Namespace: IngeniuxCMServiceAssembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntaxpublic 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 String
- Unique id of the content unit
- blockedGroupIds String
- List of ids for blocked user groups
Return Value
XHRServiceResponseGenericUniqueObjectWithCountInformation of blocked groups for the content unit
ExampleSample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": [
{
"name": "Authors",
"id": "UserGroups\/1",
"count": 1
}
]
}
See Also