public abstract ChangePasswordQuestionAndAnswer ( string name, string password, string newPwdQuestion, string newPwdAnswer ) : bool | ||
name | string | |
password | string | |
newPwdQuestion | string | |
newPwdAnswer | string | |
return | bool |
public override bool ChangePasswordQuestionAndAnswer(string username, string password, string newPasswordQuestion, string newPasswordAnswer) { var result = PrimaryMembershipProvider.ChangePasswordQuestionAndAnswer(username, password, newPasswordQuestion, newPasswordAnswer); if (result) { var user = GetHybridMembershipUser(username); if (user != null) { base.ChangePasswordQuestionAndAnswer(username, password, newPasswordQuestion, newPasswordAnswer, false); } } return(result); }
public bool ChangePasswordQuestionAndAnswer(string applicationName, string username, string password, string newPasswordQuestion, string newPasswordAnswer) { _Provider.ApplicationName = _ApplicationName; return(_Provider.ChangePasswordQuestionAndAnswer(username, password, newPasswordQuestion, newPasswordAnswer)); }