View Source
Class UserDto
Assembly: Umbraco.Infrastructure.dll
Syntax
Constructors
View Source
UserDto()
Declaration
Fields
View Source
KeyColumnName
Declaration
public const string KeyColumnName = "key"
Field Value
View Source
PrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "id"
Field Value
View Source
TableName
Declaration
public const string TableName = "umbracoUser"
Field Value
Properties
View Source
Avatar
Will hold the media file system relative path of the users custom avatar if they uploaded one
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
[Length(500)]
public string? Avatar { get; set; }
Property Value
View Source
CreateDate
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = SystemMethods.CurrentUTCDateTime)]
public DateTime CreateDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
Disabled
Declaration
[Constraint(Default = "0")]
public bool Disabled { get; set; }
Property Value
View Source
Email
Declaration
public string Email { get; set; }
Property Value
View Source
EmailConfirmedDate
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public DateTime? EmailConfirmedDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
FailedLoginAttempts
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public int? FailedLoginAttempts { get; set; }
Property Value
View Source
Id
Declaration
[PrimaryKeyColumn(Name = "PK_user")]
public int Id { get; set; }
Property Value
View Source
InvitedDate
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public DateTime? InvitedDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
Key
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = SystemMethods.NewGuid)]
[Index(IndexTypes.UniqueNonClustered, Name = "IX_umbracoUser_userKey")]
public Guid Key { get; set; }
Property Value
View Source
Kind
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = 0)]
public short Kind { get; set; }
Property Value
View Source
LastLockoutDate
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public DateTime? LastLockoutDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
LastLoginDate
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public DateTime? LastLoginDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
LastPasswordChangeDate
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public DateTime? LastPasswordChangeDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
Login
Declaration
[Length(125)]
[Index(IndexTypes.NonClustered)]
public string? Login { get; set; }
Property Value
View Source
NoConsole
Declaration
[Constraint(Default = "0")]
public bool NoConsole { get; set; }
Property Value
View Source
Password
Declaration
[Length(500)]
public string? Password { get; set; }
Property Value
View Source
PasswordConfig
This will represent a JSON structure of how the password has been created (i.e hash algorithm, iterations)
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
[Length(500)]
public string? PasswordConfig { get; set; }
Property Value
View Source
SecurityStampToken
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
[Length(255)]
public string? SecurityStampToken { get; set; }
Property Value
View Source
UpdateDate
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = SystemMethods.CurrentUTCDateTime)]
public DateTime UpdateDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
UserGroupDtos
Declaration
public List<UserGroupDto> UserGroupDtos { get; set; }
Property Value
View Source
UserLanguage
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
[Length(10)]
public string? UserLanguage { get; set; }
Property Value
View Source
UserName
Declaration
public string UserName { get; set; }
Property Value
View Source
UserStartNodeDtos
Declaration
public HashSet<UserStartNodeDto> UserStartNodeDtos { get; set; }
Property Value