Click or drag to resize
MembershipResolversGetForgottenPasswordResolver Method
Builds and returns a resolver for email templates of type 'Forgotten password'

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
public static MacroResolver GetForgottenPasswordResolver(
	UserInfo user,
	string password,
	string logonUrl,
	MacroResolver buildFrom = null
)

Parameters

user
Type: CMS.MembershipUserInfo
User to be used as a data source
password
Type: SystemString
User's password
logonUrl
Type: SystemString
URL of the logon page
buildFrom (Optional)
Type: CMS.MacroEngineMacroResolver
Resolver to build the result from

Return Value

Type: MacroResolver
Remarks
If buildFrom is null then newly created resolver has culture set to the preferred culture of user
See Also