共用方式為


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