UserManager umgr = roller.getUserManager();
List users =
umgr.getUsersStartingWith(startsWith, offset, length, enabledOnly);
Iterator userIter = users.iterator();
while (userIter.hasNext()) {
UserData user = (UserData)userIter.next();
response.getWriter().print(user.getUserName());
response.getWriter().print(",");
response.getWriter().println(user.getEmailAddress());
}
response.flushBuffer();
} catch (RollerException e) {
throw new ServletException(e.getMessage());
}