Change a user password.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As IDICOMManage
Dim username As String
Dim oldpassword As String
Dim newpassword As String
Dim extraData As String
Dim value As Boolean
value = instance.ChangePassword(username, oldpassword, newpassword, extraData) |
Parameters
- username
- A System.String representing the user name.
- oldpassword
- A System.String representing the user current password.
- newpassword
- A System.String representing the user new password.
- extraData
- Custom user data.
Return Value
true if the user password changed successfully; otherwise false.
Requirements
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also