public bool ResetPassword(string newPassword) { bool r = AppDAL.ChangePassword(this.ObjectGuid, this.Password, GetHashString(newPassword)); if (r) { this.Password = newPassword; } return(r); }