Click or drag to resize
AuthenticationHelper.ForgottenEmailRequest Method
Tries to find user based on email address and if it finds the user, a password reset link is sent.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static void ForgottenEmailRequest(
	string email,
	string siteName,
	string source,
	string sendEmailFrom,
	MacroResolver resolver = null,
	string requestUrl = null,
	string returnUrl = null
)

Parameters

email
Type: System.String
Email address of user requesting a new password.
siteName
Type: System.String
Site name used to process e-mail templates.
source
Type: System.String
Source of the request, used for logging.
sendEmailFrom
Type: System.String
Email address of the sender.
resolver (Optional)
Type: CMS.MacroEngine.MacroResolver
Macro resolver used to resolve values in e-mail template.
requestUrl (Optional)
Type: System.String
URL which will be send to user to finish the password reset process.
returnUrl (Optional)
Type: System.String
URL to which the user will be redirected after finishing the password reset process.
See Also