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#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual void RemoveSecurityGroup(
	string name,
	bool checkIfGroupIsUsed
)
public virtual void RemoveSecurityGroup(
	string name,
	bool checkIfGroupIsUsed
)
Public Overridable Sub RemoveSecurityGroup ( 
	name As String,
	checkIfGroupIsUsed As Boolean
)
Public Overridable Sub RemoveSecurityGroup ( 
	name As String,
	checkIfGroupIsUsed As Boolean
)
public:
virtual void RemoveSecurityGroup(
	String^ name, 
	bool checkIfGroupIsUsed
)
public:
virtual void RemoveSecurityGroup(
	String^ name, 
	bool checkIfGroupIsUsed
)
abstract RemoveSecurityGroup : 
        name : string * 
        checkIfGroupIsUsed : bool -> unit 
override RemoveSecurityGroup : 
        name : string * 
        checkIfGroupIsUsed : bool -> unit 
abstract RemoveSecurityGroup : 
        name : string * 
        checkIfGroupIsUsed : bool -> unit 
override RemoveSecurityGroup : 
        name : string * 
        checkIfGroupIsUsed : bool -> unit 
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: 2015.6.15.120