SimpleMembershipProvider.GetUserIdFromPasswordResetToken(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.