ldap_explode_dn
(PHP 4, PHP 5)
ldap_explode_dn — Splits DN into its component parts
Описание
array ldap_explode_dn
( string $dn
, int $with_attrib
)
Список параметров
-
dn
-
The distinguished name of an LDAP entity.
-
with_attrib
-
Used to request if the RDNs are returned with only values or their
attributes as well. To get RDNs with the attributes (i.e. in
attribute=value format) set with_attrib
to 0
and to get only values set it to 1.
Возвращаемые значения
Returns an array of all DN components.
The first element in this array has count key and
represents the number of returned values, next elements are numerically
indexed DN components.