Click or drag to resize
MembershipResolversGetMembershipExpirationResolver Method
Builds and returns a resolver for email templates of type 'Membership expiration'

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public static MacroResolver GetMembershipExpirationResolver(
	UserInfo user,
	DataTable membershipTable,
	MacroResolver buildFrom = null
)

Parameters

user
Type: CMS.MembershipUserInfo
User to be used as a data source
membershipTable
Type: System.DataDataTable
Table of user's memberships
buildFrom (Optional)
Type: CMS.MacroEngineMacroResolver
Resolver to build the result from

Return Value

Type: MacroResolver
See Also