ConfigurationUserLevel Enumeration
Used to specify which configuration file is to be represented by the Configuration object.
Assembly: System.Configuration (in System.Configuration.dll)
| Member name | Description | |
|---|---|---|
| None | Get the Configuration that applies to all users. | |
| PerUserRoaming | Get the roaming Configuration that applies to the current user. | |
| PerUserRoamingAndLocal | Get the local Configuration that applies to the current user. |
Use ConfigurationUserLevel to specify which configuration file is to be represented by the Configuration object returned by ConfigurationManager::OpenExeConfiguration and WebConfigurationManager::OpenMachineConfiguration.
Application configuration files are in the same directory as the application and have the same name, but with a .config extension. For example, the configuration file for C:\System\Public.exe is C:\System\Public.exe.config.
Applications use a global configuration that applies to all users, separate configurations that apply to individual users, and configurations that apply to roaming users.
Available since 2.0