ProfileLoader.GetProfileLoader Method (SPServiceContext, Boolean)
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Function GetProfileLoader ( _
serviceContext As SPServiceContext, _
IgnoreUserPrivacy As Boolean _
) As ProfileLoader
'Usage
Dim serviceContext As SPServiceContext
Dim IgnoreUserPrivacy As Boolean
Dim returnValue As ProfileLoader
returnValue = ProfileLoader.GetProfileLoader(serviceContext, _
IgnoreUserPrivacy)
public static ProfileLoader GetProfileLoader(
SPServiceContext serviceContext,
bool IgnoreUserPrivacy
)
Parameters
- serviceContext
Type: Microsoft.SharePoint.SPServiceContext
- IgnoreUserPrivacy
Type: System.Boolean
Return Value
Type: Microsoft.Office.Server.UserProfiles.ProfileLoader