code: public static void setUser(String userName, String password){
          getImpl().getDirectoryServiceClient().setUser(userName, password);
      }
docs: Set the Directory User.
  
  @param userName
  the user name.
  @param password
  the password of the user.
  @throws ServiceException