Click or drag to resize
IContactMergeServiceMergeContacts Method
Merges given source contact to the target. Moves subscriptions and copies contact's data. In the case the EMS license is available, moves activities, memberships and relations.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 11.0.0
Syntax
C#
void MergeContacts(
	ContactInfo source,
	ContactInfo target
)

Parameters

source
Type: CMS.ContactManagementContactInfo
Source contact to be merged to the target
target
Type: CMS.ContactManagementContactInfo
Target contact the source is to be merged to
Remarks
Does not set the result of merge to the current context or store the GUID in response cookie. If the result should be somehow persistent during requests, caller of the method has to call SetCurrentContact(ContactInfo) with the merged contact.
See Also