| Visual Basic (Declaration) | |
|---|---|
Overridable Function ResetPassword( _ ByVal username As String, _ ByVal newPassword As String, _ ByVal extraData As String _ ) As Boolean  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
Parameters
- username
 - A String representing the user name to reset it's password.
 - newPassword
 - 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.This method should only be used by administrators users
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family