Reset 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 String representing the user name to reset it's password.
- newPassowrd
-
A 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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
See Also