SchemaDesignerServicesSetBlockedUserGroupsToSchema Method
|
Sets the listing of User Groups that are not allowed to use
the specified Schema or Asset Schema
Namespace: IngeniuxCMServiceAssembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntaxpublic XHRServiceResponseGeneric<UniqueObjectWithCount[]> SetBlockedUserGroupsToSchema(
string schemaId,
bool isAssetSchema,
string[] blockedGroupIds
)
Public Function SetBlockedUserGroupsToSchema (
schemaId As String,
isAssetSchema As Boolean,
blockedGroupIds As String()
) As XHRServiceResponseGeneric(Of UniqueObjectWithCount())
public:
virtual XHRServiceResponseGeneric<array<UniqueObjectWithCount^>^>^ SetBlockedUserGroupsToSchema(
String^ schemaId,
bool isAssetSchema,
array<String^>^ blockedGroupIds
) sealed
abstract SetBlockedUserGroupsToSchema :
schemaId : string *
isAssetSchema : bool *
blockedGroupIds : string[] -> XHRServiceResponseGeneric<UniqueObjectWithCount[]>
override SetBlockedUserGroupsToSchema :
schemaId : string *
isAssetSchema : bool *
blockedGroupIds : string[] -> XHRServiceResponseGeneric<UniqueObjectWithCount[]> 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
XHRServiceResponseGenericUniqueObjectWithCountList of User Groups that are blocked on the Schema
ExampleSample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": [
{
"name": "Authors",
"id": "UserGroups/1",
"count": 1
}
]
}
See Also