Click or drag to resize
IPreviewPersonaStorage Interface
Defines contract for the storage for saving and retrieving personas which should be displayed in the preview mode.

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 13.0.131
Syntax
C#
public interface IPreviewPersonaStorage

The IPreviewPersonaStorage type exposes the following members.

Methods
  NameDescription
Public methodGetPreviewPersona
Persona enforced by the user for the preview mode. If null, user wants to see page as someone who is not assigned to any persona.
Public methodSetCurrentSiteID
Sets siteID which will be then used when storing and retrieving personas. Personas on each site will be stored independently.
Public methodStorePreviewPersona
Stores persona for the preview mode. When GetPreviewPersona is called later, persona saved using this method is retrieved.
Top
See Also