Hitachi

uCosminexus Application Server Security Management Guide


The listUsers method (syntax 2)

Organization of this page

Description

Obtains a list of user IDs. If the addUserData or removeUserData method is called, the result might or might not be reflected in the previously returned LdapUserEnumeration object.

Syntax

public LdapUserEnumeration listUsers(String uid)
  throws NamingException;

Parameter

uid:

Specifies the user ID. The user ID can include a wildcard (*). If this parameter is omitted or if null is specified, this method obtains a list of all user IDs.

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 the list of user IDs