Click or drag to resize
SubscriberInfoProviderGetSubscriberInfo Method (String, Int32, Int32)
Returns the Subscriber object for the specified subscriber.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax
C#
public static SubscriberInfo GetSubscriberInfo(
	string subscriberType,
	int subscriberRelatedId,
	int siteId
)

Parameters

subscriberType
Type: SystemString
Subscriber type (UserInfo.OBJECT_TYPE or RoleInfo.OBJECT_TYPE)
subscriberRelatedId
Type: SystemInt32
Subscriber's related ID
siteId
Type: SystemInt32
ID of the site this subscriber belongs to

Return Value

Type: SubscriberInfo
Subscriber specified by his type, related ID and site
See Also