BdcSecurityTrimmer.CheckAccess Method
Performs custom security trimming of search results.
Namespace: Microsoft.Office.Server.Search.Connector.BDC
Assembly: Microsoft.Office.Server.Search.Connector (in Microsoft.Office.Server.Search.Connector.dll)
Syntax
'Declaration
Public Function CheckAccess ( _
crawlUrls As IList(Of String), _
properties As IDictionary(Of String, Object), _
userIdentity As IIdentity _
) As BitArray
'Usage
Dim instance As BdcSecurityTrimmer
Dim crawlUrls As IList(Of String)
Dim properties As IDictionary(Of String, Object)
Dim userIdentity As IIdentity
Dim returnValue As BitArray
returnValue = instance.CheckAccess(crawlUrls, _
properties, userIdentity)
public BitArray CheckAccess(
IList<string> crawlUrls,
IDictionary<string, Object> properties,
IIdentity userIdentity
)
Parameters
crawlUrls
Type: System.Collections.Generic.IList<String>The collection of search results URL strings.
properties
Type: System.Collections.Generic.IDictionary<String, Object>The collection of configuration properties registered for the security trimmer.
- userIdentity
Type: System.Security.Principal.IIdentity
Return Value
Type: System.Collections.BitArray
The results of the CheckAccess method.
Implements
ISecurityTrimmer2.CheckAccess(IList<String>, IDictionary<String, Object>, IIdentity)
Remarks
The CheckAccess method executes each time the Query component returns search results that match the crawl rule that the custom security trimmer is associated with.