return statusHandler.handleRequest(req, resp, new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_BAD_REQUEST, "User " + userId + " could not be found.", null));
}
// Delete user from metadata store
try {
@SuppressWarnings("unused")
Activator r = Activator.getDefault();
final IMetaStore metastore = OrionConfiguration.getMetaStore();
if (userInfo.getWorkspaceIds().size() > 0) {
for (String workspaceId : userInfo.getWorkspaceIds()) {
WorkspaceInfo workspaceInfo = metastore.readWorkspace(workspaceId);