TestimoX

API Reference

Class

LdapToolQueryRow

Namespace ADPlayground.Helpers
Assembly ADPlayground
Modifiers sealed

One typed LDAP row with pre-formatted attributes.

Inheritance

  • Object
  • LdapToolQueryRow

Constructors

Properties

public Dictionary<String, Object> Attributes { get; set; } #

Attribute values mapped by attribute name.

public IReadOnlyList<String> TruncatedAttributes { get; set; } #

Names of attributes that were truncated due to value caps.

Extension Methods

public static Nullable<Int32> GetInt32(LdapToolQueryRow row, String key) #
Returns: Nullable<Int32>

Reads a best-effort 32-bit integer value from an LDAP query row.

Parameters

row ADPlayground.Helpers.LdapToolQueryRow requiredposition: 0
LDAP query row.
key System.String requiredposition: 1
Attribute name.

Returns

Parsed integer value when possible; otherwise null.

public static Nullable<Int64> GetInt64(LdapToolQueryRow row, String key) #
Returns: Nullable<Int64>

Reads a best-effort 64-bit integer value from an LDAP query row.

Parameters

row ADPlayground.Helpers.LdapToolQueryRow requiredposition: 0
LDAP query row.
key System.String requiredposition: 1
Attribute name.

Returns

Parsed integer value when possible; otherwise null.

public static String GetString(LdapToolQueryRow row, String key) #
Returns: String

Reads a best-effort string value from an LDAP query row.

Parameters

row ADPlayground.Helpers.LdapToolQueryRow requiredposition: 0
LDAP query row.
key System.String requiredposition: 1
Attribute name.

Returns

Attribute value as string, or an empty string when not present.

public static IReadOnlyList<String> GetStringValues(LdapToolQueryRow row, String key) #
Returns: IReadOnlyList<String>

Reads best-effort string values from an LDAP query row.

Parameters

row ADPlayground.Helpers.LdapToolQueryRow requiredposition: 0
LDAP query row.
key System.String requiredposition: 1
Attribute name.

Returns

Attribute values as strings (empty when missing).