public void setUser ( String userName , String password ) { if ( userName != null && ! userName . isEmpty ( ) ) { connection . setDirectoryUser ( userName , password ) ; } }
Set the user for the DirectoryServiceClient .