Share via


PluggableSecurityTrimmerManager.RegisterPluggableSecurityTrimmer Method

Registers a security trimmer with a Search service application.

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

Syntax

'Declaration
Public Sub RegisterPluggableSecurityTrimmer ( _
    idRequested As Integer, _
    fullyQualifiedTypeName As String, _
    properties As NameValueCollection _
)
'Usage
Dim instance As PluggableSecurityTrimmerManager
Dim idRequested As Integer
Dim fullyQualifiedTypeName As String
Dim properties As NameValueCollection

instance.RegisterPluggableSecurityTrimmer(idRequested, _
    fullyQualifiedTypeName, properties)
public void RegisterPluggableSecurityTrimmer(
    int idRequested,
    string fullyQualifiedTypeName,
    NameValueCollection properties
)

Parameters

  • idRequested
    Type: System.Int32

    Required. The security trimmer ID. This value is unique; if a security trimmer is registered with an ID that is already registered for another security trimmer, the registration for the first trimmer is overwritten with the registration for the second trimmer.

  • fullyQualifiedTypeName
    Type: System.String

    Required. The strong name of the custom security trimmer assembly.

Remarks

The search context for the PluggableSecurityTrimmerManager object must be set before a security trimmer can be registered.

See Also

Reference

PluggableSecurityTrimmerManager Class

PluggableSecurityTrimmerManager Members

Microsoft.Office.Server.Search.Administration.Security Namespace