Represents a client-side user profile for a person.
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
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.