THYUserProfileAttributes

Overview

The THYUserProfileAttributes is a collection of THYUserProfileAttribute objects.

Location


Properties


Attributes

Gets reference to the attribute with specified index.

property Attributes[Index: Integer]: THYUserProfileAttribute read

Instance Methods


constructor Create  virtual

Creates a new instance of the class.

constructor Create(aUserProfile: THYUserProfile)

Parameters:

  • aUserProfile: Reference to a user profile.

AttributeByName

Searches for an attribute with specified name, if attribute can not be found throws an exception.

function AttributeByName(const anAttributeName: string): THYUserProfileAttribute

Parameters:

  • anAttributeName: Name of the attribute.

FindAttribute

Searches for an attribute with specified name.

function FindAttribute(const anAttributeName: string): THYUserProfileAttribute

Parameters:

  • anAttributeName: Name of the attribute.