downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ldap_first_entry> <ldap_explode_dn
[edit] Last updated: Fri, 17 May 2013

view this page in

ldap_first_attribute

(PHP 4, PHP 5)

ldap_first_attribute最初の属性を返す

説明

string ldap_first_attribute ( resource $link_identifier , resource $result_entry_identifier )

指定したエントリの最初の属性を取得します。残りの属性は、 ldap_next_attribute() を逐次コールして取得します。

エントリの読み込みと同様、 エントリからの属性の読み込みもひとつづつ行われます。

パラメータ

link_identifier

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

result_entry_identifier

ber_identifier

ber_identifier は内部メモリにおける位置ポインタの ID です。この ID は 参照渡しされます。同じ ber_identifierldap_next_attribute() 関数に渡された場合、 そのポインタは修正されます。

注意:

このパラメータは使用されなくなりました。現在は PHP が自動的にこれを処理します。 後方互換性を保持するため、もしこのパラメータが渡されても PHP はエラーを発生させません。

返り値

成功した場合にエントリの最初の属性、エラーの場合に FALSE を返します。

変更履歴

バージョン 説明
5.2.4 ber_identifier が削除されました。 これは PHP が自動的に処理するようになりました。

参考



add a note add a note User Contributed Notes ldap_first_attribute - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites