Click or drag to resize
OnlineMarketingTransformationFunctionsGetContactInfo Method
Returns contact related with subscriber. If there is no known relation between contact and subscriber, returns contact with the same email. In this case, if there is more contacts with the same email, selects the one with last logged activity.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static ContactInfo GetContactInfo(
	SubscriberInfo subscriber
)

Parameters

subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber info

Return Value

Type: ContactInfo
Contact info related to subscriber
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when subscriber is null
See Also