ContactHelper Merge Method (ContactInfo, ContactInfo, Hashtable, Hashtable)Kentico 8.1 API Reference
Merges one contact into another contact. Contacts must be on the same site (or global).

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

mergeInto
Type: CMS.OnlineMarketing ContactInfo
Will be merging into this contact. Must be on same site as 'mergeFrom' contact or global
mergeFrom
Type: CMS.OnlineMarketing ContactInfo
Will be merged. Must be as 'mergeInto' contact or global if 'mergeInto' is global
ACcollisionResult
Type: OnlineSystem.Collections Hashtable
Optional. Hashtable containing result of collision results. Contains 'AccountID' keys and 'ContactRoleID' values.
CGresult
Type: OnlineSystem.Collections Hashtable
Optional. Hashtable containing result of contact groups which should be added to parent contact.

Return Value

Type: OnlineBoolean
Returns TRUE if merging was successful.
See Also