Click or drag to resize
PersonaInfoProviderGetPersonaInfoByCodeName Method

Note: This API is now obsolete.

Returns PersonaInfo with specified code name.

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IPersonaInfoProvider.Get(string) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - PersonaInfo.Provider.")]
public static PersonaInfo GetPersonaInfoByCodeName(
	string codeName
)

Parameters

codeName
Type: SystemString
Persona code name

Return Value

Type: PersonaInfo
See Also