ldap_entry_count

Description

The ldap_entry_count() function returns the number of entries that exist in a specific LDAP message. The ldap_search() function generates LDAPEntry.

Not supported in Endpoint Privilege Management for Linux (EPM-L).

Syntax

result = ldap_entry_count (LDAPEntry);

Arguments

LDAPEntry Required. LDAP message that is generated by ldap_search().

Return Values

integer The number of entries that are contained in the specified LDAP message.
0 If zero entries or on error.
result = ldap_entry_count (LDAPEntry);

In this example, result contains the number of entries in the LDAP message that is identified by LDAPEntry.

For more information, see ldap_search.