Click or drag to resize
ContactInfoExtensionsGetPersona Method
Returns PersonaInfo of the contact.

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 13.0.131
Syntax
C#
public static PersonaInfo GetPersona(
	this ContactInfo contact
)

Parameters

contact
Type: CMS.ContactManagementContactInfo
Contact of which we want to get persona.

Return Value

Type: PersonaInfo
Persona of current contact.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ContactInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also