| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Protocols
Protocols.LDAP
Protocols.LDAP.client
Protocols.LDAP.client()->result

# Method Protocols.LDAP.client()->result()->get_dn()

Method get_dn

  `string|Locale.Charset.DecodeError get_dn()`

Description

  Returns distinguished name (DN) of the current entry in the result list. Note that this is the same as getting the `"dn"` field from the return value from fetch .

Note

  In Pike 7.6 and earlier, this field was incorrectly returned in UTF-8 encoded form for LDAPv3 connections.