Click or drag to resize
SubscriberInfoProviderGetSubscriberInfo Method (Guid, Int32)

Note: This API is now obsolete.

Returns the Subscriber object for the specified subscriber.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISubscriberInfoProvider.Get(System.Guid, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SubscriberInfo.Provider.")]
public static SubscriberInfo GetSubscriberInfo(
	Guid subscriberGuid,
	int siteId
)

Parameters

subscriberGuid
Type: SystemGuid
Subscriber GUID
siteId
Type: SystemInt32
Site ID

Return Value

Type: SubscriberInfo
Subscriber specified by his GUID and site
See Also