Click or drag to resize
SubscriberInfoProviderGetSubscribersFromView Method (String, Int32)
Returns subscriber information for a specified email and site along with the related user data. Includes role, user and contact subscriber types as well.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax
C#
public static DataQuery GetSubscribersFromView(
	string email,
	int siteId
)

Parameters

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

Return Value

Type: DataQuery
DataQuery containing all subscribers with a given email that belong to a specified site
See Also