Export (0) Print
Expand All

PluggableSocialSecurityTrimmerManager.SetTrimmerSettings method (SPServiceContext, Boolean)

Updates the trimmer setting.

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

public static void SetTrimmerSettings(
	SPServiceContext serviceContext,
	bool enableTrimming
)

Parameters

serviceContext
Type: Microsoft.SharePoint.SPServiceContext

The service application context.

enableTrimming
Type: System.Boolean

true to enable the security trimming heuristics for all social data; otherwise, false.

ExceptionCondition
ArgumentNullException

serviceContext is null .

The enableTrimming parameter specifies whether the security trimming heuristics are enabled. If the value is true, the security trimming heuristics must be enabled for all social data. If the value is false, the security trimming heuristics must be disabled for all social data.

Community Additions

ADD
Show:
© 2014 Microsoft