Share via


ProfileLoader.GetProfileLoader method

Gets a ProfileLoader object from the context cache.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Shared Function GetProfileLoader As ProfileLoader
'Usage
Dim returnValue As ProfileLoader

returnValue = ProfileLoader.GetProfileLoader()
public static ProfileLoader GetProfileLoader()

Return value

Type: Microsoft.Office.Server.UserProfiles.ProfileLoader
The ProfileLoader object.

Remarks

Use the GetProfileLoader method if you are writing code for the web. The GetProfileLoader method uses the default server context (the server context of the portal that you are currently browsing).

See also

Reference

ProfileLoader class

ProfileLoader members

GetProfileLoader overload

Microsoft.Office.Server.UserProfiles namespace