Click or drag to resize
SubscriberInfoProviderGetSubscriberByEmail Method
Returns the Subscriber object for the specified subscriber. Includes role, user and contact subscriber types as well.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public static SubscriberInfo GetSubscriberByEmail(
	string email,
	int siteId
)

Parameters

email
Type: SystemString
Subscriber e-mail
siteId
Type: SystemInt32
Site ID

Return Value

Type: SubscriberInfo
Subscriber specified by his email and site ID
See Also