AccountHelperMerge Method (AccountInfo, AccountInfo, Hashtable, Hashtable) |
Merges one account into another account. Accounts must be on the same site (or global).
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax 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:
BooleanReturns TRUE if merging was successful.
See Also