UserProfile class

Represents a client-side user profile for a person.

Inheritance hierarchy


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


Public Class UserProfile _
    Inherits ClientObject
Dim instance As UserProfile
public class UserProfile : ClientObject


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.

See also


UserProfile members

Microsoft.SharePoint.Client.UserProfiles namespace