I personally know of cheating going on in my unit (battalion commander with his XO's wife and various female DA/NAF civilians) and others back in the late 70s/early 80s that got no UCMJ attention. I'd say it has to be pretty egregious and flagrant to result in any action. Of course, it doesn't hurt that the commander was a ringknocker.
Double standard: Officers v. Enlisted