Click or drag to resize
PersonasFactoryGetPersonaService Method
Provides services for persona.

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 12.0.0
Syntax
C#
public static IPersonaService GetPersonaService()

Return Value

Type: IPersonaService
Service for determining membership of contacts in personas
Remarks
This method returns special implementation in the preview mode (PagePreviewPersonaService). That special implementation takes into account persona which is enforced in the page preview mode when user wants to see how page looks like for certain persona. This persona is taken into account only if caller is asking for personas for current contact.
See Also