In case of the breach of any condition of any official bond in any school district, the county auditor or any member of a school board where the default occurs shall cause an action to be commenced and prosecuted thereon in the name of the school district and all money so collected shall be paid into the county treasury, to be applied to the use of the schools of such district. If the auditor either fails or refuses to bring such action upon the breach of a bond, any taxpayer of the district may cause such action to be commenced and the necessary expenses of such action shall be paid, unless otherwise ordered by the court, out of the county treasury from funds apportioned to such district.
SDCL 13-8-21