In any action for the general adjudication of the rights to use water and water rights on any river system and all other sources all those whose claims to the use of such waters or claims of water rights are of record, and all other claimants so far as they can be ascertained with reasonable diligence, shall be made parties.
SDCL 46-10-3