Click or drag to resize
ContactHelperMerge Method (ContactInfo, ContactInfo, Hashtable, Hashtable)
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: 9.0.0
Syntax
C#
public static bool Merge(
	ContactInfo mergeInto,
	ContactInfo mergeFrom,
	Hashtable ACcollisionResult,
	Hashtable CGresult
)

Parameters

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

Return Value

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