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

Parameters

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