public IUserAccount(int ID, string Username, EUserLevel AuthLevel, string Name, string Email, DateTime DateCreated, DateTime LastAccess, string CUID = null, EUserState State = EUserState.Disabled) { this.ID = ID; this.CUID = CUID; // Hidden Personalised Username (Used for Logging In with more security: OPTIONAL) this.Username = Username; // Public Username (USED BY DEFAULT) this.Name = Name; this.AuthLevel = AuthLevel; this.State = State; this.Email = Email; this.DateCreated = DateCreated; this.LastAccess = LastAccess; }
public IUserAccount(int ID, string Username, EUserLevel AuthLevel, string Name, string Email, DateTime DateCreated, DateTime LastAccess, string CUID = null, EUserState State = EUserState.Disabled) { this.ID = ID; this.CUID = CUID; // Hidden Personalised Username (Used for Logging In with more security: OPTIONAL) this.Username = Username; // Public Username (USED BY DEFAULT) this.Name = Name; this.AuthLevel = AuthLevel; this.State = State; this.Email = Email; this.DateCreated = DateCreated; this.LastAccess = LastAccess; }