The getUserData method
- Organization of this page
Description
Obtains user information. The acquired UserData object does not contain a password.
Syntax
public UserData getUserData(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
The UserData object that holds the user information