ldap_first_entry

(PHP 4, PHP 5, PHP 7, PHP 8)

ldap_first_entry最初の結果 ID を返す

説明

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

結果内の最初のエントリのエントリ ID を返します。このエントリ ID を ldap_next_entry() に渡し、 結果からそれ以降のエントリを取得します。

LDAP 結果におけるエントリは、ldap_first_entry() および ldap_next_entry() 関数を用いて連続的に 読み込まれます。

パラメータ

ldap

ldap_connect() が返す LDAP リンク ID。

result

返り値

成功時に最初のエントリに関する結果エントリ ID、エラーの場合に false を返します。

参考

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top