The listUsers method (syntax 1)
- Organization of this page
Description
Obtains a list of all user IDs. If the addSSOData or removeSSOData method is called, the result might or might not be reflected in the previously returned LdapUserEnumeration object.
Syntax
public LdapUserEnumeration listUsers() throws NamingException;
Parameters
None
Exceptions
- javax.naming.CommunicationException:
-
An attempt to connect to the LDAP directory server has failed.
- Other JNDI exceptions:
-
Events such as a bind DN specification error
Return value
The LdapUserEnumeration object that holds a list of user IDs.