Unless some other form of engagement is specially prescribed by law, every person elected to any town or city office, whether by the town, city council, or town council, and every moderator and warden, and ward and district clerk, shall take the following engagement before he or she acts in that office, before some person authorized to administer oaths:
You (naming the person) do solemnly swear (or, affirm) that you will be true and faithful unto this state, and support the laws and Constitution thereof, and the Constitution of the United States; and that you will well and truly execute the office of (naming the office) for the term for which you have been elected, or until another be engaged in your place, or until you be legally discharged therefrom; so help you God (or this affirmation you make and give upon peril of the penalty of perjury).
R.I. Gen. Laws § 45-4-11