public bool ValidateUser(string username, string password) { AdminUser user = this.GetAdminUser(username); if (user != null && !user.Archive) { return(user.ValidateUser(password)); } return(false); }