The military is generally barred from taking part in domestic law enforcement like rounding up people suspected of being undocumented immigrants inside the U.S.