AuthenticationHelperSendPasswordRequest Method (UserInfo, String, String, String, String, MacroResolver, String, Boolean, String) |
Sends e-mail to user for approval request of new password.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax public static string SendPasswordRequest(
UserInfo user,
string siteName,
string source,
string sendEmailFrom,
string emailTemplateName,
MacroResolver resolver,
string requestUrl,
out bool success,
string returnUrl
)
Parameters
- user
- Type: CMS.MembershipUserInfo
User - 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 - emailTemplateName
- Type: SystemString
Email template name to be used for the email - 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