Class LDAPGetEntries

java.lang.Object
netscape.ldap.beans.LDAPBasePropertySupport
netscape.ldap.beans.LDAPGetEntries
All Implemented Interfaces:
Serializable

public class LDAPGetEntries extends LDAPBasePropertySupport implements Serializable
Invisible Bean that just takes a host, port, directory base, search string, and optional authentication name and password, and returns a list of all matching DNs. The search has the scope "SUB", which means that it will find an entry anywhere at or below the directory base, unless a different scope is specified.

Optionally, a client can register as a PropertyChangeListener and will be notified when the values are available.

A null result means no matching DNs were found. The reason is available through getErrorCode(), which returns one of the following:
     OK
     INVALID_PARAMETER
     CONNECT_ERROR
     AUTHENTICATION_ERROR
     PROPERTY_NOT_FOUND
     AMBIGUOUS_RESULTS
See Also: