ISubscriptionServiceIsSubscribed Method (Int32, Int32) |
Returns true if subscriber is subscribed to given newsletter and at the same time is not in the unsubscription list for the given newsletter.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 10.0.0
Syntax bool IsSubscribed(
int subscriberID,
int newsletterID
)
Parameters
- subscriberID
- Type: SystemInt32
Subscriber ID - newsletterID
- Type: SystemInt32
Newsletter ID
Return Value
Type:
BooleanTrue if subscriber is not unsubscribed
Exceptions See Also