Whatever was said in the campaign this order did not ban Muslims as a class. With one exception, Iran, it did place a temporary ban on citizens of states where the central government either does not exist or has very limited control over its territory. In any case presidents of both parties have barred citizens of foreign states on temporary and more permanent basis. There seems little doubt that these past orders caused harm to people both inside and outside US borders. It is also factual that these past orders did not allow for due process for those effected. Again- just because this order may be foolish and counterproductive and has an adverse effect on individuals does not make this one any more illegal than others executed in the past .