throws UserNotFoundException
{
boolean found = getConfiguration().removeUserById(id);
if (!found) {
throw new UserNotFoundException(id);
}
// delete the user role mapping for this user too
try {
deleteUserRoleMapping(id, SecurityXmlUserManager.SOURCE);