// add an EPerson, then jump user to edit page
EPerson e = EPerson.create(context);
// create clever name and do update before continuing
e.setEmail("newuser" + e.getID());
e.update();
request.setAttribute("eperson", e);
JSPManager.showJSP(request, response,
"/dspace-admin/eperson-edit.jsp");