Click or drag to resize
PersonaServiceIsContactInPersona 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.OnlineMarketingContactInfo
Contact
persona
Type: CMS.PersonasPersonaInfo
Persona

Return Value

Type: Boolean
True when contact fulfills persona definition

Implements

IPersonaServiceIsContactInPersona(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