Sends given user an email with forgotten/new password. (If the new password isn't provided current password is used for the plain text format or new password is generated for the SHA1/SHA2 format.)
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- user
- Type: CMS.Membership UserInfo
User
- newPassword
- Type: System String
New password (optional)
- siteName
- Type: System String
Site name
- source
- Type: System String
Source of calling, will be used for log event
- sendEmailFrom
- Type: System String
Email address of the sender
- emailTemplateName
- Type: System String
Email template name to be used for the email
- resolver
- Type: CMS.MacroEngine MacroResolver
Macro resolver
Return Value
Type: StringMessage with result description
See Also