Reputation: 3
The title pretty much says it all. I've been searching and I haven't really found a good way to deal with settings/configurations for multiple users.
The best I found was a loosely worded thing about using AppData, but I'm not sure if that's the best approach; I'd like my application to be used by many, and plenty of people don't use multiple profiles on a computer.
Upvotes: 0
Views: 948
Reputation: 186
The best way would surely be with a new User Settings profile.
Click add new item then select Settings.
You can then call these with something like this:
string temp_setting = setting_name.Default.item_name;
Where setting_name is the name of the new settings file you've created and the item_name is the name of the property within the settings.
Upvotes: 0
Reputation: 8225
How about creating xml document for each user from where you'll read/write settings for each user? If you use database, create a new table called settings, and then name all the fields with the settings you have. Populate the table with true/false values and the user id. Maybe that can help.
Upvotes: 2