ContactHelper Class |
Namespace: CMS.OnlineMarketing
public static class ContactHelper
The ContactHelper type exposes the following members.
Name | Description | |
---|---|---|
ANONYMOUS |
Prefix for anonymous contacts.
| |
MERGED |
Prefix for contacts created from merging.
| |
REPLACED_BRACKET_LEFT |
Replaced left bracket.
| |
REPLACED_BRACKET_RIGHT |
Replaced right bracket.
|
Name | Description | |
---|---|---|
IsSiteManager |
Indicates if control is placed in Site manager.
|
Name | Description | |
---|---|---|
AuthorizedForObject |
Returns true if user is authorized per resource
| |
AuthorizedModifyContact |
Returns if current user is authorized to modify contact.
| |
AuthorizedReadContact |
Indicates if current user is authorized for site contacts.
| |
CreateNewContact |
Creates new contact for subscriber and its relation.
| |
Delete |
Deletes contact. All related records are moved to parent contact or deleted.
| |
EscapeString |
Escapes SQL string for use in dataset row filtering
| |
GetContactListInfos |
Returns ContactListInfos for specified parameters.
| |
GetEmailDomain |
Returns email domain name.
| |
GetNewContact |
Creates and returns new anonymous contact.
| |
GetSiteParentRecursive |
Gets parent contact. If parent contact is merged then its parent contact is recursively found and returned.
| |
Merge(ContactInfo, ContactInfo, Hashtable, Hashtable) |
Merges one contact into another contact. Contacts must be on the same site (or global).
| |
Merge(ContactInfo, ListContactInfo, Hashtable, Hashtable) |
Will merge contacts into another contact. If contacts are from different sites then new global contact will be created.
| |
Merge(ContactInfo, DataSet, Hashtable, Hashtable) |
Will merge contacts into another contact. If contacts are from different sites then new global contact will be created.
| |
MergeContactsForRelations |
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.
| |
ObjectSiteID |
Returns Site ID of contact.
| |
RemoveCustomer |
Removes customer dependencies in all contact management objects.
| |
SelectContactForVisitor |
Returns single contact determined for current visitor by settings 'When a visitor has more Contacts, use'.
| |
SplitContacts |
Splits contacts.
|