An action may be brought by the attorney general or district attorney in the name of the state, upon his information or upon the complaint of any private person, against the parties offending in the following cases:
The district attorneys in their respective judicial districts shall exercise the same power and right given by this section to the attorney general in cases which may be limited in their operation to the said district.
When the attorney general or district attorney refuses to act, or when the office usurped pertains to a county, incorporated village, town or city, or school district, such action may be brought in the name of the state by a private person on his own complaint.
NMS § 44-3-4