Click or drag to resize
IContactMergeServiceMergeContacts Method
Merges given source contact to the target. Moves activities, memberships, copies data and set the target as currect contact to the response cookie.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.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