Click or drag to resize
IPersonaService Interface
Provides methods to determine membership of contacts in personas.

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

The IPersonaService type exposes the following members.

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
Use PersonasFactory to obtain implementation of this interface. 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