we should never say 'whom he is', but 'i don't know whom he has gone out with' is a perfect sentence,