PluggableSocialSecurityTrimmerManager.SetTrimmerSettings PluggableSocialSecurityTrimmerManager.SetTrimmerSettings PluggableSocialSecurityTrimmerManager.SetTrimmerSettings Method

Definition

Overloads

SetTrimmerSettings(SPServiceContext, Boolean) SetTrimmerSettings(SPServiceContext, Boolean) SetTrimmerSettings(SPServiceContext, Boolean)

Updates the trimmer setting.

SetTrimmerSettings(SPServiceContext, String[], String[]) SetTrimmerSettings(SPServiceContext, String[], String[]) SetTrimmerSettings(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.

SetTrimmerSettings(SPServiceContext, Boolean) SetTrimmerSettings(SPServiceContext, Boolean) SetTrimmerSettings(SPServiceContext, Boolean)

Updates the trimmer setting.

public:
 static void SetTrimmerSettings(Microsoft::SharePoint::SPServiceContext ^ serviceContext, bool enableTrimming);
public static void SetTrimmerSettings (Microsoft.SharePoint.SPServiceContext serviceContext, bool enableTrimming);
Public Shared Sub SetTrimmerSettings (serviceContext As SPServiceContext, enableTrimming As Boolean)
Parameters
serviceContext
SPServiceContext SPServiceContext SPServiceContext

The service application context.

enableTrimming
Boolean Boolean Boolean

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

Exceptions

Remarks

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.

SetTrimmerSettings(SPServiceContext, String[], String[]) SetTrimmerSettings(SPServiceContext, String[], String[]) SetTrimmerSettings(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.

public:
 static void SetTrimmerSettings(Microsoft::SharePoint::SPServiceContext ^ serviceContext, cli::array <System::String ^> ^ urlFoldersRequiringTrim, cli::array <System::String ^> ^ urlFoldersToAlwaysAllow);
public static void SetTrimmerSettings (Microsoft.SharePoint.SPServiceContext serviceContext, string[] urlFoldersRequiringTrim, string[] urlFoldersToAlwaysAllow);
Public Shared Sub SetTrimmerSettings (serviceContext As SPServiceContext, urlFoldersRequiringTrim As String(), urlFoldersToAlwaysAllow As String())
Parameters
serviceContext
SPServiceContext SPServiceContext SPServiceContext

The service application context.

urlFoldersRequiringTrim
String[]

The URLs associated with the security trimming heuristics.

urlFoldersToAlwaysAllow
String[]

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

Exceptions

Remarks

This method sets the trimmer setting.

Applies to