2009-10-16 102 views

回答

0

基础MembershipProvider类具有一个名为ChangePasswordQuestionAndAnswer的可覆盖方法。您可以使用它来更改安全问题和答案。签名看起来像这样:

public override bool ChangePasswordQuestionAndAnswer(string username, string password, string newPasswordQuestion, string newPasswordAnswer) 
    { 
     // your implementation here. 
    } 
相关问题