Share via


PluggableSocialSecurityTrimmerManager.RegisterPluggableSecurityTrimmer method

Registers a pluggable security trimmer and saves it to the search service application.

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Shared Sub RegisterPluggableSecurityTrimmer ( _
    userProfileApplicationProxyId As Guid, _
    id As Integer, _
    fullyQualifiedTypeName As String, _
    properties As NameValueCollection _
)
'Usage
Dim userProfileApplicationProxyId As Guid
Dim id As Integer
Dim fullyQualifiedTypeName As String
Dim properties As NameValueCollectionPluggableSocialSecurityTrimmerManager.RegisterPluggableSecurityTrimmer(userProfileApplicationProxyId, _
    id, fullyQualifiedTypeName, properties)
public static void RegisterPluggableSecurityTrimmer(
    Guid userProfileApplicationProxyId,
    int id,
    string fullyQualifiedTypeName,
    NameValueCollection properties
)

Parameters

  • userProfileApplicationProxyId
    Type: System.Guid

    A GUID representing the user profile application where the social data security trimmer will be used.

  • id
    Type: System.Int32

    The security trimmer identifier (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

    The strong name of the custom security trimmer assembly.

See also

Reference

PluggableSocialSecurityTrimmerManager class

PluggableSocialSecurityTrimmerManager members

Microsoft.Office.Server.SocialData namespace