Removes a security group from the index if the group is unused, otherwise throws an exception.
            
| C# | Visual Basic | 
public virtual void RemoveSecurityGroup( string name, bool checkIfGroupIsUsed )
Public Overridable Sub RemoveSecurityGroup ( name As String, checkIfGroupIsUsed As Boolean )
- name (String)
 
- checkIfGroupIsUsed (Boolean)
 
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