SubscriberInfoProvider GetSubscribers Method (SubscriberInfo, Int32, Int32, Int32)Kentico 8.1 API Reference
Gets the list of subscriber's members. Subscriber member has SubscriberID=0.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

subscriber
Type: CMS.Newsletters SubscriberInfo
Subscriber definition
topN (Optional)
Type: OnlineSystem Int32
Number of members that should be returned (all are returned if 0)
lastMemberID (Optional)
Type: OnlineSystem Int32
Last member ID (used for subscribed role or contact group)
newsletterID (Optional)
Type: OnlineSystem Int32
Newsletter ID - it allows to filter-out unsubscribed contact group members

Return Value

Type: OnlineSortedDictionary OnlineInt32, SubscriberInfo 
See Also