Export (0) Print
Expand All

PluggableSocialSecurityTrimmerManager.SetTrimmerSettings method (SPServiceContext, String[], String[])

Updates the trimmer setting based on the URLs associated with the security trimming heuristics and the URLs that are always included in the results set returned to a user.

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

public static void SetTrimmerSettings(
	SPServiceContext serviceContext,
	string[] urlFoldersRequiringTrim,
	string[] urlFoldersToAlwaysAllow
)

Parameters

serviceContext
Type: Microsoft.SharePoint.SPServiceContext

The service application context.

urlFoldersRequiringTrim
Type: []

The URLs associated with the security trimming heuristics.

urlFoldersToAlwaysAllow
Type: []

The URLs that are always included in the results set returned to a user.

ExceptionCondition
ArgumentNullException

serviceContext is null .

This method sets the trimmer setting.

Community Additions

ADD
Show:
© 2014 Microsoft