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.3.169
Syntax
public XHRServiceResponseGeneric<UniqueObjectWithCount[]> SetBlockedUserGroupsToSchema(
	string schemaId,
	bool isAssetSchema,
	string[] blockedGroupIds
)

Parameters

schemaId
Type: SystemString
Id of the schema
isAssetSchema
Type: SystemBoolean
Whether this schema is Asset schema or Page schema
blockedGroupIds
Type: SystemString
String array of group ids

Return Value

Type: XHRServiceResponseGenericUniqueObjectWithCount

List of User Groups that are blocked on the Schema

Examples

Sample JSON return

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