Class UserViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
UserViewModel represents the rendering context used when a user is rendered.
public class UserViewModel : ViewModelBase
- Inheritance
-
UserViewModel
- Inherited Members
- Extension Methods
Constructors
UserViewModel()
Initializes a new instance of the UserViewModel class.
public UserViewModel()
Properties
Address
Gets or sets the address.
public string? Address { get; set; }
Property Value
- string
The address.
Address2
Gets or sets the address2.
public string? Address2 { get; set; }
Property Value
- string
The address2.
AddressCustomFields
public Dictionary<string, CustomFieldValueViewModel> AddressCustomFields { get; set; }
Property Value
City
Gets or sets the city.
public string? City { get; set; }
Property Value
- string
The city.
Company
Gets or sets the company.
public string? Company { get; set; }
Property Value
- string
The company.
Country
Gets or sets the country.
public string? Country { get; set; }
Property Value
- string
The country.
CountryCode
Gets or sets the country code.
public string? CountryCode { get; set; }
Property Value
- string
The country code.
Currency
Gets or sets the currency.
public string? Currency { get; set; }
Property Value
- string
The currency.
CustomFields
public Dictionary<string, CustomFieldValueViewModel> CustomFields { get; set; }
Property Value
CustomerNumber
Gets or sets the customer number.
public string? CustomerNumber { get; set; }
Property Value
- string
The customer number.
Department
Gets or sets the department.
public string? Department { get; set; }
Property Value
- string
The department.
Gets or sets the email.
public string? Email { get; set; }
Property Value
- string
The email.
ExternalID
Gets the external identifier.
public string? ExternalID { get; set; }
Property Value
- string
The external identifier.
FirstName
Gets or sets the first name.
public string? FirstName { get; set; }
Property Value
- string
The first name.
HouseNumber
Gets or sets the house number.
public string? HouseNumber { get; set; }
Property Value
- string
The house number.
ID
Gets or sets the identifier.
public int ID { get; set; }
Property Value
- int
The identifier.
Image
Gets or sets the image.
public string? Image { get; set; }
Property Value
- string
The image.
JobTitle
Gets or sets the job title.
public string? JobTitle { get; set; }
Property Value
- string
The job title.
LastName
Gets or sets the last name.
public string? LastName { get; set; }
Property Value
- string
The last name.
Location
public UserViewModel.GeoLocation Location { get; set; }
Property Value
MiddleName
Gets or sets the name of the middle.
public string? MiddleName { get; set; }
Property Value
- string
The name of the middle.
Name
Gets or sets the name.
public string? Name { get; set; }
Property Value
- string
The name.
Phone
Gets or sets the phone.
public string? Phone { get; set; }
Property Value
- string
The phone.
PhoneBusiness
Gets or sets the phone business.
public string? PhoneBusiness { get; set; }
Property Value
- string
The phone business.
PhoneMobile
Gets or sets the phone mobile.
public string? PhoneMobile { get; set; }
Property Value
- string
The phone mobile.
PhonePrivate
Gets or sets the phone private.
public string? PhonePrivate { get; set; }
Property Value
- string
The phone private.
PointBalance
Gets or sets user's loyalty points balance
public double PointBalance { get; set; }
Property Value
- double
User's loyalty points balance.
ShopID
Gets or sets the shop id.
public string? ShopID { get; set; }
Property Value
- string
The shop id.
State
Gets or sets the state.
public string? State { get; set; }
Property Value
- string
The state.
StockLocationID
Gets or sets the stocklocation.
public long? StockLocationID { get; set; }
Property Value
- long?
The stocklocation.
Title
Gets or sets the title.
public string? Title { get; set; }
Property Value
- string
The title.
UniqueId
Gets or sets the unique identifier.
public Guid UniqueId { get; set; }
Property Value
- Guid
The unique identifier.
UserName
Gets or sets the name of the user.
public string? UserName { get; set; }
Property Value
- string
The name of the user.
Zip
Gets or sets the zip.
public string? Zip { get; set; }
Property Value
- string
The zip.