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.GuidA GUID representing the user profile application where the social data security trimmer will be used.
id
Type: System.Int32The 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.StringThe strong name of the custom security trimmer assembly.
properties
Type: System.Collections.Specialized.NameValueCollectionOptional. The name/value pairs that specify the configuration properties.
See Also
Reference
PluggableSocialSecurityTrimmerManager Class