/// <summary>
 /// Creates a user object. FriendlyName defaults to the empty string. Do not pass null.
 /// </summary>
 public ExternalAuthUser( int userId, string email, Role role, DateTime? lastRequestDateTime, string friendlyName = "" )
 {
     this.userId = userId;
     this.email = email;
     this.role = role;
     this.lastRequestDateTime = lastRequestDateTime;
     this.friendlyName = friendlyName;
 }
 /// <summary>
 /// Creates a user object. FriendlyName defaults to the empty string. Do not pass null.
 /// </summary>
 public FormsAuthCapableUser( int userId, string email, Role role, DateTime? lastRequestDateTime, int salt, byte[] saltedPassword, bool mustChangePassword,
     string friendlyName = "")
 {
     this.userId = userId;
     this.email = email;
     this.role = role;
     this.lastRequestDateTime = lastRequestDateTime;
     this.salt = salt;
     this.saltedPassword = saltedPassword;
     this.mustChangePassword = mustChangePassword;
     this.friendlyName = friendlyName;
 }