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: 8.2.23
Syntax
C#
public class AccountHelper

The AccountHelper type exposes the following members.

Constructors
  NameDescription
Public methodAccountHelper
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberMERGED
Prefix for accounts created from merging.
Top
See Also