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

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 8.2.23
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