Visual Basic (Declaration) | |
---|---|
Overridable Function ChangePassword( _ ByVal username As String, _ ByVal oldpassword As String, _ ByVal newpassword As String, _ ByVal extraData As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
virtual bool ChangePassword( string username, string oldpassword, string newpassword, string extraData ) |
C++/CLI | |
---|---|
virtual bool ChangePassword( String^ username, String^ oldpassword, String^ newpassword, String^ extraData ) |
Parameters
- username
- A String representing the user name.
- oldpassword
- A String representing the user current password.
- newpassword
- A String representing the user new password.
- extraData
- Custom user data.
Return Value
true if the user password changed successfully; otherwise false.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family