Foreign nationals are not all permitted to buy property in Switzerland.
Some people require permission to purchase a home or land. Buying a house, apartment, or plot of land in Switzerland does not grant you a residence permit.