Click or drag to resize
ICurrentContactMergeServiceMergeCurrentContactWithContact Method
Merges current contact with the given targetContact in case the current contact is anonymous (does not have any email). Moves activities, memberships, relations and copies contact's data.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.0.0
Syntax
C#
void MergeCurrentContactWithContact(
	ContactInfo targetContact
)

Parameters

targetContact
Type: CMS.ContactManagementContactInfo
Contact the current contact should be merged with
Remarks
Sets the result of merge to the response cookie, so the result will be persistent within the next requests.
See Also