Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

ldap_explode_dn

(PHP 3, PHP 4 )

ldap_explode_dn -- DN を構成要素毎に分割する

説明

array ldap_explode_dn ( string dn, int with_attrib)

ldap_explode_dn() 関数は、 ldap_get_dn()により返されたDNを分割し複数の要 素に分けるために使用されます。各部分は、相対区分名(Relative Distinguished Name または RDN)と呼ばれます。 ldap_explode_dn() は、これらの全ての要素を含む 配列を返します。 with_attrib は、RDN が値のみを返すのか、 あるいは、属性を同時に返すのかを指定するために使用されます。 属性を有する RDN (すなわち、属性=値 フォーマットで) を得るために はwith_attrib を 0 とし、値のみを得るために は1 にセットします。