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: 10.8.0Syntax
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. |
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 |
|
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 |