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

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

Parameters

contact
Type: CMS.OnlineMarketing.ContactInfo
Contact
persona
Type: CMS.Personas.PersonaInfo
Persona

Return Value

Type: Boolean
True when contact fulfills persona definition

Implements

IPersonaService.IsContactInPersona(ContactInfo, PersonaInfo)
Exceptions
ExceptionCondition
ArgumentNullExceptioncontact or persona is null
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