UserProfile class
Represents a client-side user profile for a person.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Client.ClientObject
Microsoft.SharePoint.Client.UserProfiles.UserProfile
Namespace: Microsoft.SharePoint.Client.UserProfiles
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
Syntax
'Declaration
Public Class UserProfile _
Inherits ClientObject
'Usage
Dim instance As UserProfile
public class UserProfile : ClientObject
Remarks
The client-side UserProfile object provides methods you can use to create a personal site for the current user. However, it does not contain the user properties that the server-side UserProfile object contains. To access user properties from client-side code, use the one of the following methods from the PeopleManager object: GetMyProperties and GetPropertiesFor to retrieve all properties (which are stored in the PersonProperties.UserProfileProperties property) or GetUserProfilePropertiesFor and GetUserProfilePropertyFor to retrieve specific properties.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.