Click or drag to resize

SchemaDesignerServicesSetBlockedUserGroupsToSchema Method


Sets the listing of User Groups that are not allowed to use the specified Schema or Asset Schema

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<UniqueObjectWithCount[]> SetBlockedUserGroupsToSchema(
	string schemaId,
	bool isAssetSchema,
	string[] blockedGroupIds
)

Parameters

schemaId  String
Id of the schema
isAssetSchema  Boolean
Whether this schema is Asset schema or Page schema
blockedGroupIds  String
String array of group ids

Return Value

XHRServiceResponseGenericUniqueObjectWithCount

List of User Groups that are blocked on the Schema

Example

Sample JSON return

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