If the mortgage debt be secured by the obligation, or other evidence of debt, of any other person than the mortgagor, the plaintiff may make such other person a party to the action, and the court may render judgment for the balance of such debt remaining unsatisfied, after a sale of the mortgaged premises, as well against such other person as against the mortgagor, and may enforce such judgment as in other cases by execution or other process.
SDCL 21-47-3