Click or drag to resize
ContactHelper Class
Class used for merging, splitting and deleting contacts.
Inheritance Hierarchy
SystemObject
  CMS.OnlineMarketingContactHelper

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static class ContactHelper

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, ListContactInfo, 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, IListString, Boolean, Boolean, Boolean, Boolean) Obsolete.
Splits contacts.
Public methodStatic memberSplit(ContactInfo, ListContactInfo, Boolean, Boolean, Boolean, Boolean) Obsolete.
Splits contacts.
Public methodStatic memberSplit(ContactInfo, DataSet, Boolean, Boolean, Boolean, Boolean) Obsolete.
Splits contacts.
Public methodStatic memberSplitContacts
Splits contacts.
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.
Top
Properties
  NameDescription
Public propertyStatic memberIsSiteManager
Indicates if control is placed in Site manager.
Top
See Also