Click or drag to resize
IContactPersistentStorageGetPersistentContact Method
Gets contact from the persistent storage.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntax
C#
ContactInfo GetPersistentContact()

Return Value

Type: ContactInfo
Contact retrieved from the persistent storage
Remarks
In default implementation, cookie will be used as persistent storage for the contacts.
Examples

Following example shows how to use GetPersistentContact method

...
IContactPersistentStorage contactPersistentStorage = someImplementation;
// Returns contact from the persistent storage
contactPersistentStorage.GetPersistentContact();
...
See Also