PersonasFactoryGetPersonaService Method |
Provides services for persona.
Namespace: CMS.PersonasAssembly: CMS.Personas (in CMS.Personas.dll) Version: 12.0.0
Syntax public static IPersonaService GetPersonaService()
Return Value
Type:
IPersonaServiceService 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