VistaDB 5






ChangePassword Method
Syntax
'Declaration
 
Public Overrides NotOverridable Function ChangePassword( _
   ByVal username As System.String, _
   ByVal oldPassword As System.String, _
   ByVal newPassword As System.String _
) As System.Boolean
'Usage
 
Dim instance As VistaDBMembershipProvider
Dim username As System.String
Dim oldPassword As System.String
Dim newPassword As System.String
Dim value As System.Boolean
 
value = instance.ChangePassword(username, oldPassword, newPassword)
public override System.bool ChangePassword( 
   System.string username,
   System.string oldPassword,
   System.string newPassword
)
public function ChangePassword( 
    username: System.String;
    oldPassword: System.String;
    newPassword: System.String
): System.Boolean; override; 
public override function ChangePassword( 
   username : System.String,
   oldPassword : System.String,
   newPassword : System.String
) : System.boolean;
public: System.bool ChangePassword( 
   System.string* username,
   System.string* oldPassword,
   System.string* newPassword
) override 
public:
System.bool ChangePassword( 
   System.String^ username,
   System.String^ oldPassword,
   System.String^ newPassword
) override 

Parameters

username
oldPassword
newPassword
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