Click or drag to resize
PersonaService Class
Provides methods to determine membership of contacts in personas.
Inheritance Hierarchy
SystemObject
  CMS.PersonasPersonaService

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 11.0.0
Syntax
C#
public sealed class PersonaService : IPersonaService

The PersonaService type exposes the following members.

Constructors
  NameDescription
Public methodPersonaService
Top
Methods
  NameDescription
Public methodGetContactsForPersona
Gets all contacts that fulfills persona definition.
Public methodGetPersonaForContact
Gets persona the specified contact is assigned to or null of contact does not belong to any persona.
Public methodIsContactInPersona
Returns true when contact belongs to specified persona.
Top
Remarks
This is the default implementation of the IPersonaService interface. Please obtain its instance via PersonasFactory. Contact can be in one persona only - contact belongs to persona if score quotient (contact score points divided by persona score limit) is the highest one of all personas.
See Also