Share via


ISecurityTrimmer.CheckAccess Method

Used to perform custom security trimming of Enterprise Search in Microsoft Office SharePoint Server 2007 results.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Function CheckAccess ( _
    documentCrawlUrls As IList(Of String), _
    sessionProperties As IDictionary(Of String, Object) _
) As BitArray
'Usage
Dim instance As ISecurityTrimmer
Dim documentCrawlUrls As IList(Of String)
Dim sessionProperties As IDictionary(Of String, Object)
Dim returnValue As BitArray

returnValue = instance.CheckAccess(documentCrawlUrls, _
    sessionProperties)
BitArray CheckAccess(
    IList<string> documentCrawlUrls,
    IDictionary<string, Object> sessionProperties
)

Parameters

Return Value

Type: System.Collections.BitArray
A System.Collection.BitArray object representing the results of the CheckAccess method.

Remarks

The CheckAccess method executes each time the Query engine returns search results that match the crawl rule that the custom security trimmer is associated with.

See Also

Reference

ISecurityTrimmer Interface

ISecurityTrimmer Members

Microsoft.Office.Server.Search.Query Namespace

Other Resources

Custom Security Trimming for Enterprise Search Results Overview

Walkthrough: Using a Custom Security Trimmer for Search Results

Enterprise Search Security Model

Querying Enterprise Search

Defining Crawl Rules and File Types