ban someone from something
1. to prohibit someone from doing something. We banned everyone from smoking. Everyone has been banned from smoking.
2. to prohibit someone from entering something or some place. (The same as bar someone from some place.) They banned us from the building. The manager banned the children from the theater.