SubscriberInfoProviderGetSubscriberByEmail Method |
Returns the Subscriber object for the specified subscriber.
Includes role, user and contact subscriber types as well.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax public static SubscriberInfo GetSubscriberByEmail(
string email,
int siteId
)
Parameters
- email
- Type: SystemString
Subscriber e-mail - siteId
- Type: SystemInt32
Site ID
Return Value
Type:
SubscriberInfoSubscriber specified by his email and site ID
See Also