Example #1
0
 public UserClass(ContactInfoClass contactInfo)
 {
     ContactInfo  = contactInfo;
     Login        = "";
     PasswordHash = "";
     Id           = -1;
 }
Example #2
0
 //ctor for backend
 public UserClass(int id, string login, string passwordHash, List <string> sessions, ContactInfoClass contactInfo = null)
 {
     Id           = id;
     Login        = login;
     PasswordHash = passwordHash;
     ContactInfo  = contactInfo;
 }
Example #3
0
 public UserClass()
 {
     ContactInfo  = new ContactInfoClass();
     Id           = -1;
     Login        = "";
     PasswordHash = "";
 }
Example #4
0
 public UserClass(string login, string passwordHash, ContactInfoClass contactInfo = null)
 {
     Login        = login;
     PasswordHash = passwordHash;
     ContactInfo  = contactInfo;
 }