Php/docs/function.ldap-next-entry

来自菜鸟教程
跳转至:导航、​搜索

ldap_next_entry

(PHP 4, PHP 5, PHP 7)

ldap_next_entryGet next result entry


说明

ldap_next_entry ( resource $ldap , resource $result ) : resource|false

Retrieve the entries stored in the result. Successive calls to the ldap_next_entry() return entries one by one till there are no more entries. The first call to ldap_next_entry() is made after the call to ldap_first_entry() with the result as returned from the ldap_first_entry().


参数

ldap
An LDAP link identifier, returned by ldap_connect().
result


返回值

Returns entry identifier for the next entry in the result whose entries are being read starting with ldap_first_entry(). If there are no more entries in the result then it returns false.


参见