Share via


PluggableSocialSecurityTrimmerManager.GetUrlFoldersToAlwaysAllow method

Gets 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)

Syntax

'Declaration
Public Shared Function GetUrlFoldersToAlwaysAllow ( _
    serviceContext As SPServiceContext _
) As String()
'Usage
Dim serviceContext As SPServiceContext
Dim returnValue As String()

returnValue = PluggableSocialSecurityTrimmerManager.GetUrlFoldersToAlwaysAllow(serviceContext)
public static string[] GetUrlFoldersToAlwaysAllow(
    SPServiceContext serviceContext
)

Parameters

Return value

Type: []
The URLs that are always included in the results set returned to a user.

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 do not need to pass the security trimming heuristics before being included in any results set returned to a user.

See also

Reference

PluggableSocialSecurityTrimmerManager class

PluggableSocialSecurityTrimmerManager members

Microsoft.Office.Server.SocialData namespace