Will merge contacts into another contact. If contacts are from different sites then new global contact will be created.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- mergeInto
- Type: CMS.OnlineMarketing ContactInfo
Optional. If not specified then new contact will be created
- mergeContacts
- Type: System.Collections.Generic List ContactInfo
List of ContactInfo object to be merged
- ACcollisionResult
- Type: System.Collections Hashtable
Optional. Hashtable containing result of collision results. Contains 'AccountID' keys and 'ContactRoleID' values.
- CGresult
- Type: System.Collections Hashtable
Optional. Hashtable containing result of contact groups which should be added to parent contact.
Return Value
Type: ContactInfoIf merged contacts are from different sites then newly created contact will be returned. Otherwise contact passed as mergeInto parameter will be returned.
See Also