Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ExtendedMembershipProvider.ResetPasswordWithToken Method

When overridden in a derived class, resets a password after verifying that the specified password reset token is valid.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public abstract function ResetPasswordWithToken(
	token : String, 
	newPassword : String
) : boolean


Type: System.String
A password reset token.
Type: System.String
The new password.

Return Value

Type: System.Boolean
true if the password was changed; otherwise, false.

The password is changed only if the password reset token is valid.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
© 2015 Microsoft