VistaDB 5






VistaDB.Web Namespace > VistaDBMembershipProvider Class : ChangePasswordQuestionAndAnswer Method
ChangePasswordQuestionAndAnswer Method
Syntax
'Declaration
 
Public Overrides NotOverridable Function ChangePasswordQuestionAndAnswer( _
   ByVal username As System.String, _
   ByVal password As System.String, _
   ByVal newPasswordQuestion As System.String, _
   ByVal newPasswordAnswer As System.String _
) As System.Boolean
'Usage
 
Dim instance As VistaDBMembershipProvider
Dim username As System.String
Dim password As System.String
Dim newPasswordQuestion As System.String
Dim newPasswordAnswer As System.String
Dim value As System.Boolean
 
value = instance.ChangePasswordQuestionAndAnswer(username, password, newPasswordQuestion, newPasswordAnswer)
public override System.bool ChangePasswordQuestionAndAnswer( 
   System.string username,
   System.string password,
   System.string newPasswordQuestion,
   System.string newPasswordAnswer
)
public function ChangePasswordQuestionAndAnswer( 
    username: System.String;
    password: System.String;
    newPasswordQuestion: System.String;
    newPasswordAnswer: System.String
): System.Boolean; override; 
public override function ChangePasswordQuestionAndAnswer( 
   username : System.String,
   password : System.String,
   newPasswordQuestion : System.String,
   newPasswordAnswer : System.String
) : System.boolean;
public: System.bool ChangePasswordQuestionAndAnswer( 
   System.string* username,
   System.string* password,
   System.string* newPasswordQuestion,
   System.string* newPasswordAnswer
) override 
public:
System.bool ChangePasswordQuestionAndAnswer( 
   System.String^ username,
   System.String^ password,
   System.String^ newPasswordQuestion,
   System.String^ newPasswordAnswer
) override 

Parameters

username
password
newPasswordQuestion
newPasswordAnswer
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also