Syntax: array ldap_get_attributes (int handle, int result_entry_identifier);
return value: Array
Function type: http://www.aliyun.com/zixun/aggregation/32416.html "> network system
Content Description
This function is used to obtain properties for all resources in LDAP. Parameter handle to open LDAP 5643.html "> code. Parameter result_entry_identifier will be followed by Ldap_next_attribute (). The return value is an array of data, and the elements of the arrays are from zero to the value of the property. For example
return_value["Count": Number of properties RETURN_VALUE[0]: First property Return_value[n]: N Properties return_value["Attribute" ["Count"]: Number of property values return_value["attribute"][0]: First property value return_value["attribute"][i]: i+1 value
Usage examples
The following example is a fragment of the program
<?php $entry = Ldap_first_entry ($ds, $SR); $attrs = Ldap_get_attributes ($ds, $entry); Echo $attrs [Count]. The Pen property data is as follows: <p>\n; For ($i =0 $i < $attrs [Count]; $i + +) { echo $attrs [$i]. <br> "; } ?>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.