Class User
Describes a User in Oqtane.
public class User : ModelBase, IAuditable, IDeletable
- Inheritance
-
objectUser
- Implements
- Inherited Members
Properties
DeletedBy
User who deleted this object.
public string DeletedBy { get; set; }
Property Value
- string
DeletedOn
Timestamp when it was deleted.
public DateTime? DeletedOn { get; set; }
Property Value
- DateTime?
DisplayName
Name shown in menus / dialogs etc.
public string DisplayName { get; set; }
Property Value
- string
User E-Mail address.
public string Email { get; set; }
Property Value
- string
EmailConfirmed
Information if this user's email address is confirmed (set during user creation)
[NotMapped]
public bool EmailConfirmed { get; set; }
Property Value
- bool
FolderPath
The path name of the user's personal folder
[NotMapped]
public string FolderPath { get; }
Property Value
- string
IsAuthenticated
Information if this user is authenticated. Anonymous users are not authenticated.
[NotMapped]
public bool IsAuthenticated { get; set; }
Property Value
- bool
IsDeleted
If something is deleted, this will be true.
public bool IsDeleted { get; set; }
Property Value
- bool
LastIPAddress
IP address when the user last logged in to this site.
public string LastIPAddress { get; set; }
Property Value
- string
LastLoginOn
Timestamp of last login.
public DateTime? LastLoginOn { get; set; }
Property Value
- DateTime?
Password
The users password. Note that this is not plaintext, so you can probably never really work with this.
[NotMapped]
public string Password { get; set; }
Property Value
- string
PhotoFileId
Reference to a File containing the users photo.
public int? PhotoFileId { get; set; }
Property Value
- int?
Roles
Semi-colon delimited list of role names for the user
[NotMapped]
public string Roles { get; set; }
Property Value
- string
SecurityStamp
A token indicating if a user's security properties have been modified
[NotMapped]
public string SecurityStamp { get; set; }
Property Value
- string
Settings
Public User Settings
[NotMapped]
public Dictionary<string, string> Settings { get; set; }
Property Value
- Dictionary<string, string>
SiteId
Reference to the Site this user belongs to.
[NotMapped]
public int SiteId { get; set; }
Property Value
- int
SuppressNotification
Indicates if new user should be notified by email (set during user creation)
[NotMapped]
public bool SuppressNotification { get; set; }
Property Value
- bool
TwoFactorCode
Stores the 2 factor verification code
public string TwoFactorCode { get; set; }
Property Value
- string
TwoFactorExpiry
The expiry date/time for the 2 factor verification code
public DateTime? TwoFactorExpiry { get; set; }
Property Value
- DateTime?
TwoFactorRequired
Indicates if the user requires 2 factor authentication to sign in
public bool TwoFactorRequired { get; set; }
Property Value
- bool
UserId
ID of this User.
public int UserId { get; set; }
Property Value
- int
Username
Username used for login.
public string Username { get; set; }
Property Value
- string