Click or drag to resize
PersonaServiceGetPersonaForContact Method
Gets persona the specified contact is assigned to or null of contact does not belong to any persona.

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 9.0.0
Syntax
C#
public PersonaInfo GetPersonaForContact(
	ContactInfo contact
)

Parameters

contact
Type: CMS.OnlineMarketingContactInfo
Contact

Return Value

Type: PersonaInfo
Persona that specified contact belongs to or null

Implements

IPersonaServiceGetPersonaForContact(ContactInfo)
Exceptions
ExceptionCondition
ArgumentNullExceptioncontact 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