Share via


ProfileLoader.GetUserProfile method

Gets the user profile that corresponds to the current user.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Function GetUserProfile As UserProfile
'Usage
Dim instance As ProfileLoader
Dim returnValue As UserProfile

returnValue = instance.GetUserProfile()
public UserProfile GetUserProfile()

Return value

Type: Microsoft.SharePoint.Client.UserProfiles.UserProfile
The user profile of the current user.

See also

Reference

ProfileLoader class

ProfileLoader members

Microsoft.SharePoint.Client.UserProfiles namespace