Click or drag to resize
MembershipUserInfoProviderGetExpiringMemberships Method (Int32, Int32, String, Boolean)
Returns dataset of all expiring memberships matching given parameters along with relevant user and membership information.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public static InfoDataSet<MembershipUserInfo> GetExpiringMemberships(
	int days,
	int siteId,
	string where,
	bool onlyWithSendNotification
)

Parameters

days
Type: SystemInt32
Number of days in which the memberships will expire.
siteId
Type: SystemInt32
Site ID. Set to 0 for global expiring memberships.
where
Type: SystemString
Additional where condition
onlyWithSendNotification
Type: SystemBoolean
Get only memberships with send notification flag set to true.

Return Value

Type: InfoDataSetMembershipUserInfo
See Also