Cal. Civ. Proc. Code § 526a
(a) An action to obtain a judgment, restraining and preventing any illegal expenditure of, waste of, or injury to, the estate, funds, or other property of a local agency, may be maintained against any officer thereof, or any agent, or other person, acting in its behalf, either by a resident therein, or by a corporation, who is assessed for and is liable to pay, or, within one year before the commencement of the action, has paid, a tax that funds the defendant local agency, including, but not limited to, the following:
(d) For purposes of this section, the following definitions apply: