Example #1
0
 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;
 }
Example #2
0
 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;
 }