Share via


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

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.

See Also

Reference

BdcSecurityTrimmer Class

BdcSecurityTrimmer Members

Microsoft.Office.Server.Search.Connector.BDC Namespace