Every person elected by the voters of the city or appointed by the City Council, to any office under the city government shall, before entering upon the duties of his or her office, take and subscribe the official oath prescribed by the Constitution of this State, and where a bond is required, shall execute such bond to the satisfaction of the City Council.