AuthenticationHelperForgottenEmailRequest Method (String, String, String, String, MacroResolver, String, Boolean) |
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
)
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.
Return Value
Type:
StringSee Also