Click or drag to resize
ContactHelperMergeContactsForRelations Method
Merges multiple contacts which are related to customer, user or subscriber. Merges contacts only when multiple contacts exists on single site. When multiple contacts exists on multiple sites then global contact is created.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static void MergeContactsForRelations(
	int relatedID,
	MemberTypeEnum memberType,
	bool mergeUsers,
	ContactInfo currentContact
)

Parameters

relatedID
Type: SystemInt32
ID of related object
memberType
Type: CMS.OnlineMarketingMemberTypeEnum
Type of related object
mergeUsers
Type: SystemBoolean
Indicates if users should be merged
currentContact
Type: CMS.OnlineMarketingContactInfo
Current contact
See Also