SubscriberInfoProviderGetSubscriberInfo Method (String, Int32, Int32) |
Returns the Subscriber object for the specified subscriber.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax 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:
SubscriberInfoSubscriber specified by his type, related ID and site
See Also