ldap_list(PHP 4, PHP 5) ldap_list — Single-level search Описание
resource ldap_list
( resource $link_identifier
, string $base_dn
, string $filter
[, array $attributes
[, int $attrsonly
[, int $sizelimit
[, int $timelimit
[, int $deref
]]]]] )
Performs the search for a specified filter on the directory with the scope LDAP_SCOPE_ONELEVEL. LDAP_SCOPE_ONELEVEL means that the search should only return information that is at the level immediately below the base_dn given in the call. (Equivalent to typing "ls" and getting a list of files and folders in the current working directory.) Список параметров
Возвращаемые значенияReturns a search result identifier or FALSE on error. Список изменений
Примеры
Пример #1 Produce a list of all organizational units of an organization
// $ds is a valid link identifier for a directory server |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |