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.5.94
Syntax public 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
- 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:
XHRServiceResponseGenericUniqueObjectWithCountList of User Groups that are blocked on the Schema
Examples Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": [
{
"name": "Authors",
"id": "UserGroups/1",
"count": 1
}
]
}
See Also