PluggableSocialSecurityTrimmerManager.GetUrlFoldersRequiringTrim method
Gets the URLs associated with the security trimming heuristics.
Namespace: Microsoft.Office.Server.SocialData
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Function GetUrlFoldersRequiringTrim ( _
serviceContext As SPServiceContext _
) As String()
'Usage
Dim serviceContext As SPServiceContext
Dim returnValue As String()
returnValue = PluggableSocialSecurityTrimmerManager.GetUrlFoldersRequiringTrim(serviceContext)
public static string[] GetUrlFoldersRequiringTrim(
SPServiceContext serviceContext
)
Parameters
serviceContext
Type: Microsoft.SharePoint.SPServiceContextA service application context.
Return value
Type: []
The URLs associated with the security trimming heuristics.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | serviceContext is null . |
Remarks
The social data whose URL values are hierarchical descendants of the value in the URL column of the results set must pass the security trimming heuristics before being included in any results set returned to a user.
See also
Reference
PluggableSocialSecurityTrimmerManager class