函式:ldap_get_attributes() |
ldap_get_attributes取得传回资料的属性。 语法: array ldap_get_attributes(int handle, int result_entry_identifier); 传回值: 阵列 函式种类: 网路系统
本函式用来取得 LDAP 中所有资源的属性。参数 handle 为开启 LDAP 的代号。参数 result_entry_identifier 将由 ldap_next_attribute() 沿用。传回值为阵列资料,阵列元素从零开始依次为属性的值。例如
return_value["count"] : 属性个数
下面范例为片段的程式
ldap_first_attribute() ldap_next_attribute()
|