Click or drag to resize
MembershipResolversGetMembershipUnlockAccountResolver Method
Builds and returns a resolver for email templates of type 'Account unlock'

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

Parameters

user
Type: CMS.MembershipUserInfo
User to be used as a data source
resetPasswordUrl
Type: SystemString
URL to reset password page
unlockAccountUrl
Type: SystemString
URL to unlock account 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