MembershipUserInfoProviderGetExpiringMemberships Method (Int32, Int32, String, Boolean) |
Returns dataset of all expiring memberships matching given parameters along with relevant user and membership information.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax 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:
InfoDataSetMembershipUserInfoSee Also