In an action to determine adverse claims, all persons appearing of record to have estates or interests in, or liens or encumbrances upon, the property, and all persons in possession, may be joined as defendants, and all others may be joined by inserting in the title of the action the following: "All other persons unknown claiming any estate or interest in, or lien or encumbrance upon, the property described in the complaint".
N.D.C.C. § 32-17-05