- username
- A System.String representing the user name to reset it's password.
- newPassword
- A System.String representing the new password to set for the user.
- extraData
- User custom data.
Visual Basic (Declaration) | |
---|---|
Function ResetPassword( _ ByVal username As String, _ ByVal newPassword As String, _ ByVal extraData As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IDICOMManage Dim username As String Dim newPassword As String Dim extraData As String Dim value As Boolean value = instance.ResetPassword(username, newPassword, extraData) |
Parameters
- username
- A System.String representing the user name to reset it's password.
- newPassword
- A System.String representing the new password to set for the user.
- extraData
- User custom data.
Return Value
true if the user password has been changed to the specified password successfully; otherwise false.This method should only be used by administrators users
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family