Ingesting (high doses of) salt causes fluid to be lost from the cells by osmosis through the cell membrane, having a dehydrating effect.
Salt is lost through sweating, and prolonged exposure to a hot, arid environment can have implications, in terms of salt depletion, for an un-acclimatised person.
Salt (sodium chloride) only absorbs water in its solid, crystalline form, or in saturated / super-saturated solution. (It is hygroscopic and slightly deliquescent, which means it absorbs water from the atmosphere and (under suitable conditions) will itself dissolve in the absorbed water.)