The right is hereby granted to locate, construct, and maintain any of the works of a district on any land which is now or hereafter owned by the State, and a district has the same rights and privileges appertaining to the rights of way as are granted to municipalities within the State.