Resets a user password into a new password.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As IManageService
Dim username As String
Dim newPassowrd As String
Dim extraData As String
Dim value As Boolean
value = instance.ResetPassword(username, newPassowrd, extraData) |
Parameters
- username
- A System.String representing the user name to reset it's password.
- newPassowrd
- 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.
Remarks
Requirements
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also