MembershipUserInfoProvider GetExpiringMemberships Method (Int32, Int32, String, Boolean)Kentico 8.0 API Reference
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: 8.0.0.0 (8.0.5239.26125)

Parameters

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

Return Value

Type: InfoDataSet MembershipUserInfo 
See Also