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 addSSOData or removeSSOData 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, the 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 a list of user IDs.