N.M. Stat. § 42-4-4
[Parties to action.]
The action shall be prosecuted in the real names of the parties, and shall be brought
against the tenant in possession, or against the person under whom such tenant holds
or claims possession. Any person claiming such premises may, on motion, be made a
defendant.