Click or drag to resize
IPersonaServiceIsContactInPersona Method
Returns true when contact belongs to specified persona.

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 12.0.0
Syntax
C#
bool IsContactInPersona(
	ContactInfo contact,
	PersonaInfo persona
)

Parameters

contact
Type: CMS.ContactManagementContactInfo
Contact
persona
Type: CMS.PersonasPersonaInfo
Persona

Return Value

Type: Boolean
True when contact fulfills persona definition
Remarks
The contact can be only in one persona at the same time. Belonging to persona is determined by the highest quotient of total score the contact obtained divided by persona score limit.
See Also