Except in the regular discharge of official duties, no official or appointed official shall appear on such official's or appointed official's own behalf, or represent, or appear on behalf of, whether paid or unpaid, any person before any court or legislative, administrative or quasijudicial board, agency, commission or committee appointed by the board of commissioners, or an official or appointed official concerning any contract or transaction which is or may be the subject of an official act or action of the county, or otherwise use or attempt to use such official's or appointed official's official position to secure unwarranted privileges or exemptions for such official's or appointed official's self or other persons.