No, there are separate oaths
still confused, tho less so if wiki can be used as a source...
The enlisted oath and the National Guard officers oath both pledge or affirm or swear to the president.
If a person becomes an officer not having gone thru either of those, there is no pledge or affirm or swear to the president.
I should have done more homework...sorry