LdapAttributes

Overview

The LdapAttributes class is a list container that holds a list of attributes associated with an LdapObject. It can be accessed by index or by attribute name (ldap attribute description).

Location

  • Reference:
    • RemObjects.InternetPack.dll  .NET, .NET Core 5.0, .NET Standard 2.0
    • RemObjects.InternetPack.fx  Island
    • libRemObjects.InternetPack.fx  Toffee
  • Namespace: RemObjects.InternetPack.Ldap

 

constructor

Creates a new instance of this class.

 

constructor

 

LdapAttributes()

 

init()

 

Sub New()

Add  virtual

 

method Add(anAttribute: LdapAttribute)

 

void Add(LdapAttribute anAttribute)

 

func Add(_ anAttribute: LdapAttribute)

 

Sub Add(anAttribute As LdapAttribute)

Parameters:

  • anAttribute:

GetSequence  virtual

 

method GetSequence: IEnumerable<LdapAttribute>

 

IEnumerable<LdapAttribute> GetSequence()

 

func GetSequence() -> INSFastEnumeration<LdapAttribute>

 

Function GetSequence() As IEnumerable<LdapAttribute>

GetStringAttribute  virtual

Returns the string representation of an attribute with a single value. For binary values, the result is converted to hexadecimal. This method will throw an exception when there are multiple records, or nil when there is no record.

 

method GetStringAttribute(key: String): String

 

String GetStringAttribute(String key)

 

func GetStringAttribute(_ key: String) -> String

 

Function GetStringAttribute(key As String) As String

Parameters:

  • key: the attribute na,e

Item  virtual

Accesses an item by index. Use the Count property to access the item limit.

 

property Item[key: String]: LdapAttribute read;

 

LdapAttribute Item[String key] { get; }

 

subscript Item(_ key: String) -> LdapAttribute { get{} }

 

ReadOnly Property Item(key As String) As LdapAttribute

Item  virtual

Accesses an item by attribute name. Returns the attribute or nil if none can be found. Searching is done case insensitive.

 

property Item[index: Int32]: LdapAttribute read write;

 

LdapAttribute Item[Int32 index] { get; set; }

 

subscript Item(_ index: Int32) -> LdapAttribute { get{} set{} }

 

Property Item(index As Int32) As LdapAttribute

 

Item  virtual

Accesses an item by index. Use the Count property to access the item limit.

 

property Item[key: String]: LdapAttribute read;

 

LdapAttribute Item[String key] { get; }

 

subscript Item(_ key: String) -> LdapAttribute { get{} }

 

ReadOnly Property Item(key As String) As LdapAttribute

Item  virtual

Accesses an item by attribute name. Returns the attribute or nil if none can be found. Searching is done case insensitive.

 

property Item[index: Int32]: LdapAttribute read write;

 

LdapAttribute Item[Int32 index] { get; set; }

 

subscript Item(_ index: Int32) -> LdapAttribute { get{} set{} }

 

Property Item(index As Int32) As LdapAttribute

 

constructor

Creates a new instance of this class.

 

constructor

 

LdapAttributes()

 

init()

 

Sub New()

Add  virtual

 

method Add(anAttribute: LdapAttribute)

 

void Add(LdapAttribute anAttribute)

 

func Add(_ anAttribute: LdapAttribute)

 

Sub Add(anAttribute As LdapAttribute)

Parameters:

  • anAttribute:

GetSequence  virtual

 

method GetSequence: IEnumerable<LdapAttribute>

 

IEnumerable<LdapAttribute> GetSequence()

 

func GetSequence() -> INSFastEnumeration<LdapAttribute>

 

Function GetSequence() As IEnumerable<LdapAttribute>

GetStringAttribute  virtual

Returns the string representation of an attribute with a single value. For binary values, the result is converted to hexadecimal. This method will throw an exception when there are multiple records, or nil when there is no record.

 

method GetStringAttribute(key: String): String

 

String GetStringAttribute(String key)

 

func GetStringAttribute(_ key: String) -> String

 

Function GetStringAttribute(key As String) As String

Parameters:

  • key: the attribute na,e