Where to store data and settings for ALL USERS in a roaming profile environment?
Posted on 2006-10-27
I am going to be deploying a custom application on a clients network.
The application requires access to both User specific data and global
data that needs to be available to all users whoever they are and
wherever they log in (with their roaming profile). The User Specific info I am storing in:
Documents and Settings\[UserName]\Application Data\MyCustomApp\
As I understand - that will be available to a given user no matter what workstation they log in on.
But how about "All User Data"
Is the same:
Documents and Settings\All Users\Application Data\MyCustomApp\
Folder available to all users no matter where they log in? All users will need to be able to read and write into that directory.
If that is not the case, what IS the proper way to handle data that needs to be commonly available and shared by all users of an application? And if it is not the return from the API call ShGetSpecialFolderPath with a CSIDL_APPDATAALL ($0023) What IS the proper call to get to the right place to read and write such data?