AccountHelper MembersKentico 8.1 API Reference
The AccountHelper type exposes the following members.
Constructors

  NameDescription
Public methodAccountHelper
Back to 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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetAccounListInfos
Returns ccounListInfos for specified parameters.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodStatic memberGetNewAccount
Creates and returns new account.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
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, List AccountInfo , 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, IList String , Boolean, Boolean, Boolean)
Splits accounts from parent.
Public methodStatic memberSplit(AccountInfo, List AccountInfo , Boolean, Boolean, Boolean)
Splits accounts from parent.
Public methodStatic memberSplit(AccountInfo, DataSet, Boolean, Boolean, Boolean)
Splits accounts from parent.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to 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.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberMERGED
Prefix for accounts created from merging.
Back to Top
See Also