string ldap_first_attribute
(int link_identifier, int result_entry_identifier, int ber_identifier);成功した場合、エントリの最初の属性を返します。 エラーの場合に FALSE を返します。
エントリの読み込みと同様に、属性も特定のエントリから一つずつ 読み込まれます。 ldap_first_attribute() は、エントリ ID により指された エントリにおける最初の属性を返します。 残りの属性は、ldap_next_attribute() を逐次コールする ことにより得ることができます。 ber_identifier は、内部メモリにおける位置ポインタ の ID です。この ID は、参照渡しされます。 同じ ber_identifier が ldap_next_attribute() 関数に渡された場合、 そのポインタは修正されます。
ldap_get_attributes() も参照下さい。