Interface ICurrentContactMergeService
- Namespace
- CMS.ContactManagement
- Assembly
- CMS.ContactManagement.dll
Provides method for merging of a current ContactInfo into another one.
public interface ICurrentContactMergeService
- Extension Methods
Methods
MergeCurrentContactWithContact(ContactInfo)
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.
void MergeCurrentContactWithContact(ContactInfo targetContact)
Parameters
targetContact
ContactInfoContact 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.
UpdateCurrentContactEmail(string)
Updates email of current contact.
void UpdateCurrentContactEmail(string email)
Parameters
email
stringContacts new email