ContactHelper MembersKentico 8.0 API Reference
The ContactHelper type exposes the following members.
Methods

  NameDescription
Public methodStatic memberAuthorizedForObject
Returns true if user is authorized per resource
Public methodStatic memberAuthorizedModifyContact
Returns if current user is authorized to modify contact.
Public methodStatic memberAuthorizedReadContact
Indicates if current user is authorized for site contacts.
Public methodStatic memberCreateNewContact
Creates new contact for subscriber and its relation.
Public methodStatic memberDelete
Deletes contact. All related records are moved to parent contact or deleted.
Public methodStatic memberEscapeString
Escapes SQL string for use in dataset row filtering
Public methodStatic memberGetContactListInfos
Returns ContactListInfos for specified parameters.
Public methodStatic memberGetEmailDomain
Returns email domain name.
Public methodStatic memberGetNewContact
Creates and returns new anonymous contact.
Public methodStatic memberGetSiteParentRecursive
Gets parent contact. If parent contact is merged then its parent contact is recursively found and returned.
Public methodStatic memberMerge(ContactInfo, ContactInfo, Hashtable, Hashtable)
Merges one contact into another contact. Contacts must be on the same site (or global).
Public methodStatic memberMerge(ContactInfo, List ContactInfo , Hashtable, Hashtable)
Will merge contacts into another contact. If contacts are from different sites then new global contact will be created.
Public methodStatic memberMerge(ContactInfo, DataSet, Hashtable, Hashtable)
Will merge contacts into another contact. If contacts are from different sites then new global contact will be created.
Public methodStatic memberMergeContactsForRelations
Merges multiple contacts which are related to customer, user or subscriber. Merges contacts only when multiple contacts exists on single site. When multiple contacts exists on multiple sites then global contact is created.
Public methodStatic memberObjectSiteID
Returns Site ID of contact.
Public methodStatic memberRemoveCustomer
Removes customer dependencies in all contact management objects.
Public methodStatic memberSplit(ContactInfo, IList String , Boolean, Boolean, Boolean, Boolean)
Splits contacts.
Public methodStatic memberSplit(ContactInfo, List ContactInfo , Boolean, Boolean, Boolean, Boolean)
Splits contacts.
Public methodStatic memberSplit(ContactInfo, DataSet, Boolean, Boolean, Boolean, Boolean)
Splits contacts.
Back to Top
Fields

  NameDescription
Public fieldStatic memberANONYMOUS
Prefix for anonymous contacts.
Public fieldStatic memberMERGED
Prefix for contacts created from merging.
Public fieldStatic memberREPLACED_BRACKET_LEFT
Replaced left bracket.
Public fieldStatic memberREPLACED_BRACKET_RIGHT
Replaced right bracket.
Back to Top
Properties

  NameDescription
Public propertyStatic memberIsSiteManager
Indicates if control is placed in Site manager.
Back to Top
See Also