Keyoti SearchUnit API Docs
RemoveSecurityGroup Method (name, checkIfGroupIsUsed)
API DocumentationKeyoti.SearchEngine.IndexDocumentIndexRemoveSecurityGroup(String, Boolean)
Keyoti SearchUnit v6
Removes a security group from the index if the group is unused, otherwise throws an exception.
Declaration Syntax
C#Visual Basic
public virtual void RemoveSecurityGroup(
	string name,
	bool checkIfGroupIsUsed
)
Public Overridable Sub RemoveSecurityGroup ( 
	name As String,
	checkIfGroupIsUsed As Boolean
)
Parameters
name (String)
checkIfGroupIsUsed (Boolean)
Remarks
Throws an InvalidOperationException if the location is currently assigned to a document.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610