SimpleMembershipProvider.GetUserIdFromPasswordResetToken(String) Method

Definition

Returns the ID for a user based on a password reset token.

public override int GetUserIdFromPasswordResetToken (string token);
override this.GetUserIdFromPasswordResetToken : string -> int
Public Overrides Function GetUserIdFromPasswordResetToken (token As String) As Integer

Parameters

token
String

The password reset token.

Returns

The user ID, or -1 if there is no user ID associated with the specified password reset token.

Exceptions

The SimpleMembershipProvider class was not initialized using a call to the InitializeDatabaseConnection method.

Applies to