Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ExtendedMembershipProvider.GeneratePasswordResetToken Method (String)

Generates a password reset token that can be sent to a user in email.

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

abstract GeneratePasswordResetToken : 
        userName:string -> string  
override GeneratePasswordResetToken : 
        userName:string -> string

Parameters

userName
Type: System.String
The user name.

Return Value

Type: System.String
A token to send to the user.

The token expires 24 hours after it is generated.

Show:
© 2015 Microsoft