Many states determine the order of water rights according to which users of the water hold a recorded beneficial use permit. This allocation of water rights is determined by:
a) accretion
b) riparian theory
c) littoral theory
d) the doctrine of prior appropriation