AuthenticationHelperForgottenEmailRequest Method |
Tries to find user based on email address and if it finds the user, a password reset link is sent.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntaxpublic static void ForgottenEmailRequest(
string email,
string siteName,
string source,
string sendEmailFrom,
MacroResolver resolver = null,
string requestUrl = null,
string returnUrl = null
)
Parameters
- email
- Type: SystemString
Email address of user requesting a new password. - siteName
- Type: SystemString
Site name used to process e-mail templates. - source
- Type: SystemString
Source of the request, used for logging. - sendEmailFrom
- Type: SystemString
Email address of the sender. - resolver (Optional)
- Type: CMS.MacroEngineMacroResolver
Macro resolver used to resolve values in e-mail template. - requestUrl (Optional)
- Type: SystemString
URL which will be send to user to finish the password reset process. - returnUrl (Optional)
- Type: SystemString
URL to which the user will be redirected after finishing the password reset process.
See Also