| AuthenticationHelperSendPassword Method (UserInfo, String, String, String, String, String, MacroResolver) | 
            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.2.23
 Syntax
Syntaxpublic static string SendPassword(
	UserInfo user,
	string newPassword,
	string siteName,
	string source,
	string sendEmailFrom,
	string emailTemplateName,
	MacroResolver resolver
)
Parameters
- user
- Type: CMS.MembershipUserInfo
 User
- newPassword
- Type: SystemString
 New password (optional)
- 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
Return Value
Type: 
StringMessage with result description
 See Also
See Also