Which does match what GP said. Enlisted swear to defend the constitution and obey the president. No limitation to lawful orders or stated precedence between the too. Commissioned officers don't swear to obey the president
What do you mean "no limitation to lawful orders"? That's what "according to regulations and the Uniform Code of Military Justice" means. Article 92 is pretty explicit about what constitutes a lawful order.