London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class UserProfile

UserProfile object, which stores user information that would be displayed on UI

Inheritance
System.Object
UserProfile
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Business.Commerce.Services
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
public class UserProfile

Constructors

UserProfile()

Declaration
public UserProfile()

Properties

Activities

String includes club ID and club Header, which was seperated by # character, for example: 27#Golf

Declaration
public IEnumerable<string> Activities { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

BirthDate

Gets or sets the birthdate.

Declaration
public string BirthDate { get; set; }
Property Value
Type Description
System.String

The birthdate.

Email

Gets or sets the Email.

Declaration
public string Email { get; set; }
Property Value
Type Description
System.String

The email.

Genders

Gets or sets the gender list.

Declaration
public IEnumerable<string> Genders { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

The gender list.

Interests

Gets or sets the predefine interests list.

Declaration
public IEnumerable<string> Interests { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

The interests list.

InterestsText

Gets or sets the interests text.

Declaration
public string InterestsText { get; set; }
Property Value
Type Description
System.String

The interests text.

IsAdmin

Gets or sets a value indicating whether this user is admin.

Declaration
public bool IsAdmin { get; set; }
Property Value
Type Description
System.Boolean

true if this user is admin; otherwise, false.

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

Photo

Gets or sets the photo.

Declaration
public string Photo { get; set; }
Property Value
Type Description
System.String

The photo.

UserId

Id of user having this profile

Declaration
public int UserId { get; set; }
Property Value
Type Description
System.Int32