View Source
Class UserDto
Assembly: Umbraco.Infrastructure.dll
Syntax
[TableName("umbracoUser")]
[PrimaryKey("id", AutoIncrement = true)]
[ExplicitColumns]
public class UserDto
Constructors
View Source
UserDto()
Declaration
Fields
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
[Column("avatar")]
[Length(500)]
public string? Avatar { get; set; }
Property Value
View Source
CreateDate
Declaration
[Column("createDate")]
public DateTime CreateDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
Disabled
Declaration
[Column("userDisabled")]
public bool Disabled { get; set; }
Property Value
View Source
Email
Declaration
[Column("userEmail")]
public string Email { get; set; }
Property Value
View Source
EmailConfirmedDate
Declaration
[Column("emailConfirmedDate")]
public DateTime? EmailConfirmedDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
FailedLoginAttempts
Declaration
[Column("failedLoginAttempts")]
public int? FailedLoginAttempts { get; set; }
Property Value
View Source
Id
Declaration
[Column("id")]
[PrimaryKeyColumn(Name = "PK_user")]
public int Id { get; set; }
Property Value
View Source
InvitedDate
Declaration
[Column("invitedDate")]
public DateTime? InvitedDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
Key
Declaration
[Column("key")]
[Index(IndexTypes.UniqueNonClustered, Name = "IX_umbracoUser_userKey")]
public Guid Key { get; set; }
Property Value
View Source
Kind
Declaration
[Column("kind")]
public short Kind { get; set; }
Property Value
View Source
LastLockoutDate
Declaration
[Column("lastLockoutDate")]
public DateTime? LastLockoutDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
LastLoginDate
Declaration
[Column("lastLoginDate")]
public DateTime? LastLoginDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
LastPasswordChangeDate
Declaration
[Column("lastPasswordChangeDate")]
public DateTime? LastPasswordChangeDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
Login
Declaration
[Column("userLogin")]
[Length(125)]
[Index(IndexTypes.NonClustered)]
public string? Login { get; set; }
Property Value
View Source
NoConsole
Declaration
[Column("userNoConsole")]
public bool NoConsole { get; set; }
Property Value
View Source
Password
Declaration
[Column("userPassword")]
[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
[Column("passwordConfig")]
[Length(500)]
public string? PasswordConfig { get; set; }
Property Value
View Source
SecurityStampToken
Declaration
[Column("securityStampToken")]
[Length(255)]
public string? SecurityStampToken { get; set; }
Property Value
View Source
UpdateDate
Declaration
[Column("updateDate")]
public DateTime UpdateDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
UserGroupDtos
Declaration
[ResultColumn]
[Reference(ReferenceType.Many, ReferenceMemberName = "UserId")]
public List<UserGroupDto> UserGroupDtos { get; set; }
Property Value
View Source
UserLanguage
Declaration
[Column("userLanguage")]
[Length(10)]
public string? UserLanguage { get; set; }
Property Value
View Source
UserName
Declaration
[Column("userName")]
public string UserName { get; set; }
Property Value
View Source
UserStartNodeDtos
Declaration
[ResultColumn]
[Reference(ReferenceType.Many, ReferenceMemberName = "UserId")]
public HashSet<UserStartNodeDto> UserStartNodeDtos { get; set; }
Property Value