Hitachi

uCosminexus Application Server Security Management Guide


The removeUserData method

Organization of this page

Description

Deletes a user. If the specified user does not exist, an exception occurs. The specified user entry and any entries below it are deleted on the LDAP directory server.

If an exception occurs during the subcontext update after this method is called, user information is incompletely updated. In this case, remove the cause and then call this method again.

Syntax

public void removeUserData(String uid)
  throws NamingException;

Parameter

uid:

Specifies the user ID.

Exceptions

javax.naming.CommunicationException:

An attempt to connect to the LDAP directory server has failed.

javax.naming.NameNotFoundException:

The specified user ID is missing.

Other JNDI exceptions:

Events such as a bind DN specification error

Return value

None