Click or drag to resize
AccountHelper Class
Helper class for merging, splitting and deleting accounts.
Inheritance Hierarchy
SystemObject
  CMS.OnlineMarketingAccountHelper

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public class AccountHelper

The AccountHelper type exposes the following members.

Constructors
  NameDescription
Public methodAccountHelper
Top
Fields
  NameDescription
Public fieldStatic memberMERGED
Prefix for accounts created from merging.
Top
Methods
  NameDescription
Public methodStatic memberAuthorizedModifyAccount
Returns if current user is authorized to modify contact.
Public methodStatic memberAuthorizedReadAccount
Indicates if current user is authorized for site accounts.
Public methodStatic memberCreateAccountContactRelation
Creates new Account - Contact relation.
Public methodStatic memberDelete
Deletes account. All related records are moved to parent account or deleted.
Public methodStatic memberGetAccounListInfos
Returns ccounListInfos for specified parameters.
Public methodStatic memberGetNewAccount
Creates and returns new account.
Public methodStatic memberMerge(AccountInfo, AccountInfo, Hashtable, Hashtable)
Merges one account into another account. Accounts must be on the same site (or global).
Public methodStatic memberMerge(AccountInfo, ListAccountInfo, Hashtable, Hashtable)
Will merge accounts into another account. If accounts are from different sites then new global account will be created.
Public methodStatic memberMerge(AccountInfo, DataSet, Hashtable, Hashtable)
Will merge accounts into another account. If accounts are from different sites then new global account will be created.
Public methodStatic memberObjectSiteID
Returns Site ID of account.
Public methodStatic memberSplit(AccountInfo, IListString, Boolean, Boolean, Boolean)
Splits accounts from parent.
Public methodStatic memberSplit(AccountInfo, ListAccountInfo, Boolean, Boolean, Boolean)
Splits accounts from parent.
Public methodStatic memberSplit(AccountInfo, DataSet, Boolean, Boolean, Boolean)
Splits accounts from parent.
Top
See Also