Quick search by citation:
10 U.S. Code § 831 - Art. 31. Compulsory self-incrimination prohibited
No person subject to this chapter may compel any person to incriminate himself or to answer any question the answer to which may tend to incriminate him.
No person subject to this chapter may interrogate, or request any statement from, an accused or a person suspected of an offense without first informing him of the nature of the accusation and advising him that he does not have to make any statement regarding the offense of which he is accused or suspected and that any statement made by him may be used as evidence against him in a trial by court-martial.
No person subject to this chapter may compel any person to make a statement or produce evidence before any military tribunal if the statement or evidence is not material to the issue and may tend to degrade him.
No statement obtained from any person in violation of this article, or through the use of coercion, unlawful influence, or unlawful inducement may be received in evidence against him in a trial by court-martial.
(Aug. 10, 1956, ch. 1041, 70A Stat. 48.)