When an action is brought by virtue of this chapter on the complaint or information of any person having an interest therein, the name of such person shall be joined with the state as plaintiff.