The Uniform Code Of Military Justice (UCMJ) Article 88 states: "Any commissioned officer who uses contemptuous words against the President, the Vice President, Congress, the Secretary of Defense, the Secretary of a military department, the Secretary of Transportation, or the Governor or legislature of any State, Territory, Commonwealth, or possession in which he is on duty or present shall be punished as a court-martial may direct."
Enlisted members may be covered by Article 134, though it's quite a bit less specific: "Though not specifically mentioned in this chapter, all disorders and neglects to the prejudice of good order and discipline in the armed forces, all conduct of a nature to bring discredit upon the armed forces, and crimes and offenses not capital, of which persons subject to this chapter may be guilty, shall be taken cognizance of by a general, special, or summary court-martial, according to the nature and degree of the offense, and shall be punished at the discretion of that court."
Perhaps the best advice to say is that if one disagrees with the govt then he/she shouldn't have signed up to work for it
No, this is stupid and unreasonable.
Over the course of any career, the government is sure to do a number of things any individual disagrees with. You don't forfeit your right to vote when you sign up. You do have to abide by some regulations aimed at
1) avoiding any confusion that an individual opinion is an official position of the government
2) preserving good order and discipline
Specifically, partisan activity is prohibited and defined as "activity directed toward the success or failure of a [particular] political party or candidate for a partisan political office or partisan political group." That's pretty broad and covers a lot of things, whether you're doing those things in or out of uniform.
Participation in social media is explicitly allowed and even encouraged by the military. For example
this is the Navy's guidance for online conduct. Note that the very first bullet point on the very first list is "Be yourself and share authentically about unclassified Navy and Navy-related topics to your service."
Rules Restrict Political Activity by DOD Personnel: "In fact, DOD has a longstanding policy of encouraging members to carry out the obligations of citizenship, officials said. DOD encourages its military and civilian members to register to vote and vote as they choose, they said. Both groups can sign nominating petitions for candidates and express their personal opinions about candidates and issues. However, officials emphasized, they can do so only if they don't act as - or aren't perceived as -- representatives of the Armed Forces in carrying out these activities."
A commissioned officer can say "I think transgender people should be allowed to serve in the military" even though there may be an order forthcoming from President Trump that prohibits this ... provided this opinion was spoken (or written) in a context that makes it absolutely clear that this is a personal opinion. It's important to avoid even the appearance of official endorsement of a policy, and it can't be part of campaigning, partisan activities to promote a candidate, etc. (I include the disclaimer in the .sig at the end of my posts to ensure that nothing I ever write can ever be misconstrued as an official communication.)
A commissioned officer may not say "The President is a jerk" or anything that would be broadly interpreted as "contemptuous words" ... even if it's clear this is a personal opinion.
This is not a bad thing. The military would risk becoming a political entity unto itself if its members, who in general may lean in one direction more than another, were completely free to influence and participate in the political process. Far better that we keep clear lines, and that the military remain completely under civilian control. We're here to kill people and break things when the elected civilian government tells us to.
If
that is something you disagree with, then no, you shouldn't sign up.