AccountHelper Merge Method (AccountInfo, AccountInfo, Hashtable, Hashtable)Kentico 8.0 API Reference
Merges one account into another account. Accounts must be on the same site (or global).

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

Parameters

mergeInto
Type: CMS.OnlineMarketing AccountInfo
Will be merging into this account. Must be on same site as 'mergeFrom' account or global.
mergeFrom
Type: CMS.OnlineMarketing AccountInfo
Will be merged. Must be on the same site as 'mergeInto' account or global if 'mergeInto' is global.
ACcollisionResult
Type: OnlineSystem.Collections Hashtable
Optional. Hashtable containing result of account-contact collision results. Contains 'ContactID' 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