Click or drag to resize
MembershipResolversGetMembershipChangePasswordResolver Method
Builds and returns a resolver for email templates of type 'Membership change password'

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static MacroResolver GetMembershipChangePasswordResolver(
	UserInfo user,
	string resetPasswordUrl,
	string cancelUrl,
	MacroResolver buildFrom = null,
	string ipAddress = null
)

Parameters

user
Type: CMS.MembershipUserInfo
User to be used as a data source
resetPasswordUrl
Type: SystemString
The URL used to reset the password
cancelUrl
Type: SystemString
URL allowing user to cancel the request
buildFrom (Optional)
Type: CMS.MacroEngineMacroResolver
Resolver to build the result from
ipAddress (Optional)
Type: SystemString
The IP address where the password reset request came 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