AuthenticationHelperForgottenEmailRequest Method (String, String, String, String, MacroResolver, String, Boolean, String) |
Tries to find user based on given user identifier (checks username and email) and if it finds
the user email with forgotten password is send. It sends password directly or request for getting/regenerating password based on settings.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax public static string ForgottenEmailRequest(
string userIdent,
string siteName,
string source,
string sendEmailFrom,
MacroResolver resolver,
string requestUrl,
out bool success,
string returnUrl
)
Parameters
- userIdent
- Type: SystemString
User identifier - siteName
- Type: SystemString
Site name - source
- Type: SystemString
Source of calling, will be used for log event - sendEmailFrom
- Type: SystemString
Email address of the sender - resolver
- Type: CMS.MacroEngineMacroResolver
Macro resolver - requestUrl
- Type: SystemString
Url which processes request. - success
- Type: SystemBoolean
Returns whether sending of request was successful. - returnUrl
- Type: SystemString
URL using which user can log on to system, after password change
Return Value
Type:
StringSee Also