Class User
- Namespace
- Dynamicweb.Security.User
Management
- Assembly
- Dynamicweb.Core.dll
Represents a user.
[Serializable]
[PermissionEntity("User")]
public class User : IPermissionEntity, IPermissionEntityLookup
- Inheritance
-
User
- Implements
- Inherited Members
- Extension Methods
Constructors
User()
Creates a new instance of a class.
User(string)
Creates a new instance of a class.
Parameters
userName
stringInitial user-name to be assigned to the user.
Fields
ImportedUserID
Field Value
ImportedUserName
Field Value
NotLoggedInFrontendUserID
Field Value
NotLoggedInFrontendUserName
Field Value
Properties
Active
Gets or sets value indicating whether user is active.
Property Value
- bool
Value indicating whether user is active.
Address
Gets or sets user's primary address.
Property Value
- string
User's primary address.
Address2
Gets or sets user's secondary address.
Property Value
- string
User's secondary address.
AddressCustomFieldValues
Custom fields of the users default address.
Property Value
AddressTitle
Gets or sets user address title.
Property Value
- string
User address title.
AllowBackend
Gets or sets allow backend property value
Property Value
ApprovalKey
Gets or sets approval key
Property Value
City
Gets or sets user's city.
Property Value
- string
User's city.
Company
Gets or sets user's company name.
Property Value
- string
User's company name.
Country
Gets or sets user's country.
Property Value
- string
User's country.
CountryCode
Gets or sets user's country code
Property Value
CreatedByUser
Gets user who created current user
Property Value
- string
String value
CreatedOn
Gets "crated on" date
Property Value
- Date
Time ? DateTime or null value
Currency
Gets or sets user's currency name.
Property Value
- string
User's currency name.
CustomFieldValues
Gets or sets custom field values
Property Value
CustomerNumber
Gets or sets user's customer number.
Property Value
- string
User's customer number.
Department
Gets or sets user's department name.
Property Value
- string
User's department name.
Gets or sets user's e-mail address.
Property Value
- string
User's e-mail address.
EmailAllowed
Property Value
EmailPermissionGivenOn
Gets "Email permission given on" date
Property Value
- Date
Time ? DateTime or null value
EmailPermissionUpdatedOn
Gets "Email permission updated on" date
Property Value
- Date
Time ? DateTime or null value
Exported
Gets or sets user last exported date
Property Value
ExternalID
Get or sets user's external id.
Property Value
- string
external user's id (if any)
Fax
Gets or sets user's fax number
Property Value
- string
User's fax number.
FirstName
Gets or sets user's first name.
Property Value
- string
User's first name.
FrontendStartPage
Gets or sets the page that the user is redirected to on login
Property Value
- string
String value
GeolocationHashCode
Gets or sets geo location hash value
Property Value
- string
String value
GeolocationIcon
Gets or sets geo location image
Property Value
GeolocationLatitude
Gets geo location latitude
Property Value
- double
Double value
GeolocationLongitude
Gets geo location longitude
Property Value
- double
Double value
HouseNumber
Gets or sets user's house number.
Property Value
- string
User's house number.
ID
Gets the identifier.
Property Value
Image
Gets or sets path to the user's image.
Property Value
- string
Path to the user's image.
InformationSentDate
Gets the last date when user information was sent to the user.
Property Value
IsAdmin
Returns true if this user is Admin or Administrator
Property Value
IsAngel
Gets or sets value indicating whether current user's type is "Angel".
Property Value
- bool
Value indicating whether current user's type is "Angel".
IsBuiltInAdmin
Returns true if this user is built-in Admin or Administrator
Property Value
IsGeolocationCustom
Gets or sets "Geo location is custom" sign
Property Value
IsLivePricesDisabled
Gets or sets DisableLivePrices
Property Value
- bool
True or false
IsNew
Property Value
IsValid
Shows if user data is valid
Property Value
- bool
True or false
ItemId
Gets or sets the Id of the associated content item.
Property Value
ItemType
Gets or sets the type of the associated item.
Property Value
JobTitle
Gets or sets user's job title.
Property Value
- string
User's job title.
LastLogOnOn
Gets date of last login
Property Value
- Date
Time ? DateTime or null value
LastName
Gets or sets user's last name.
Property Value
- string
User's last name.
LoginType
Gets or sets the user's login type.
Property Value
- Login
Type ? Set it to
null
to use the system-wide setting for the user.
MiddleName
Gets or sets user's middle name.
Property Value
- string
User's middle name.
Name
Gets or sets user's name.
Property Value
- string
User's name.
Password
Gets or sets user's password.
Property Value
- string
User's password.
PasswordDate
Stores and retrieves password date value.
Property Value
- Date
Time Data
PasswordRecoveryToken
Gets or sets the password recovery token.
Property Value
- string
The password recovery token.
PasswordRecoveryTokenExpirationTime
Gets or sets the password recovery token expiration time.
Property Value
- Date
Time The password recovery token expiration time.
Phone
Gets or sets user's phone number.
Property Value
- string
User's phone number.
PhoneBusiness
Gets or sets user's business phone number.
Property Value
- string
User's business phone number.
PhoneMobile
Gets or sets user's mobile phone number.
Property Value
- string
User's mobile phone number.
PhonePrivate
Gets or sets user's private phone number.
Property Value
- string
User's private phone number.
PointBalance
Gets user's loyalty points balance
Property Value
- double
User's loyalty points balance.
ProfileCreated
Shows if profile was created
Property Value
- bool
True or false
ProfileCreatedDate
Gets or sets the profile created date
Property Value
- Date
Time ? The profile created date
Region
Gets user's region info
Property Value
ReverseChargeForVat
Gets or sets the value indicating whether the prices for this User has reverse charge for VAT.
Property Value
ShopID
Gets or sets shop identifier
Property Value
- string
String value
State
Gets or sets user's state.
Property Value
- string
User's state.
StockLocationID
Gets or sets user's stock location id.
Property Value
SystemFieldValues
Gets or sets system field values
Property Value
Title
Gets or sets user's title.
Property Value
- string
User's title.
UniqueId
Gets or sets the unique identifier.
Property Value
UpdatedByUser
Gets user who updated current user
Property Value
- string
String value
UpdatedOn
Gets "updated on" date
Property Value
- Date
Time ? DateTime or null value
UserAndGroupTypeSystemName
Gets or sets the System
Property Value
UserName
Gets or sets user's user-name.
Property Value
- string
User's user-name.
UserType
Gets or sets user's type.
Property Value
- User
Type User's type.
ValidFrom
Gets or sets user's validity starting date.
Property Value
- Date
Time User's validity starting date.
ValidTo
Gets or sets user's validity ending date.
Property Value
- Date
Time User's validity ending date.
VatRegNumber
A value added tax identification number.
Property Value
Zip
Gets or sets user's zip code.
Property Value
- string
User's zip code.
Methods
GetAddresses()
Returns
GetAllowBackendWithInheritance()
Returns
GetAncestorGroups()
Gets the ancestor groups
Returns
GetGroups()
Gets the users groups.
Returns
GetRegions()
Returns countries in the ISO format
Returns
GetUserAndGroupType()
Gets the User