AccountHelper Class |
Namespace: CMS.OnlineMarketing
public class AccountHelper
The AccountHelper type exposes the following members.
Name | Description | |
---|---|---|
AccountHelper |
Name | Description | |
---|---|---|
AuthorizedModifyAccount |
Returns if current user is authorized to modify contact.
| |
AuthorizedReadAccount |
Indicates if current user is authorized for site accounts.
| |
CreateAccountContactRelation |
Creates new Account - Contact relation.
| |
Delete |
Deletes account. All related records are moved to parent account or deleted.
| |
GetAccounListInfos |
Returns ccounListInfos for specified parameters.
| |
GetNewAccount |
Creates and returns new account.
| |
Merge(AccountInfo, AccountInfo, Hashtable, Hashtable) |
Merges one account into another account. Accounts must be on the same site (or global).
| |
Merge(AccountInfo, ListAccountInfo, Hashtable, Hashtable) |
Will merge accounts into another account. If accounts are from different sites then new global account will be created.
| |
Merge(AccountInfo, DataSet, Hashtable, Hashtable) |
Will merge accounts into another account. If accounts are from different sites then new global account will be created.
| |
ObjectSiteID |
Returns Site ID of account.
| |
Split(AccountInfo, IListString, Boolean, Boolean, Boolean) |
Splits accounts from parent.
| |
Split(AccountInfo, ListAccountInfo, Boolean, Boolean, Boolean) |
Splits accounts from parent.
| |
Split(AccountInfo, DataSet, Boolean, Boolean, Boolean) |
Splits accounts from parent.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |