public ClientMembershipUserContract() { this.userKey = Guid.Empty; this.creationDate = DateTime.MinValue; this.email = string.Empty; this.isLockedOut = false; this.lastActivityDate = DateTime.MinValue; this.lastLockoutDate = DateTime.MinValue; this.lastLoginDate = DateTime.MinValue; this.lastPasswordChangedDate = DateTime.MinValue; this.passwordQuestion = string.Empty; this.userName = string.Empty; this.passwordSalt = string.Empty; this.passwordFormat = PasswordFormatContract.Hashed; this.failedPasswordAttemptCount = 0; this.failedPasswordAttemptWindowStart = DateTime.MinValue; this.failedPasswordAnswerAttemptCount = 0; this.failedPasswordAnswerAttemptWindowStart = DateTime.MinValue; this.roles = new List <RoleContract>(); }
public ClientMembershipUserContract() { this.userKey = Guid.Empty; this.creationDate = DateTime.MinValue; this.email = string.Empty; this.isLockedOut = false; this.lastActivityDate = DateTime.MinValue; this.lastLockoutDate = DateTime.MinValue; this.lastLoginDate = DateTime.MinValue; this.lastPasswordChangedDate = DateTime.MinValue; this.passwordQuestion = string.Empty; this.userName = string.Empty; this.passwordSalt = string.Empty; this.passwordFormat = PasswordFormatContract.Hashed; this.failedPasswordAttemptCount = 0; this.failedPasswordAttemptWindowStart = DateTime.MinValue; this.failedPasswordAnswerAttemptCount = 0; this.failedPasswordAnswerAttemptWindowStart = DateTime.MinValue; this.roles = new List<RoleContract>(); }
private static PasswordFormat ToPasswordFormat(PasswordFormatContract contract) { return (PasswordFormat)Enum.Parse(typeof(PasswordFormat), contract.ToString()); }