Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.