#include <ldap.h>
int ldap_count_attributes(
LDAP *ld,
LDAPMessage *entry)
|
The ldap_count_attributes() function returns a count of the number of attributes in an LDAP entry.
No OS/400 authority is required. All authority checking is done by the LDAP server.
ldap_count_attributes() ruturns -1, if a null entry is returned from ldap_first_entry() or ldap_next_entry(), and is passed as input to ldap_count_attributes().
The following message may be set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_count_attribute API.
ldap_first_attribute() -- Return first attribute name in an entry.
ldap_next_attribute() -- Return next attribute name in an entry.
| Top | LDAP APIs List | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |