Opens the specified machine-configuration file on the specified server as a System.Configuration.Configuration object, using the specified security context to allow read or write operations.
locationSubPath The application path to which the configuration applies. server The fully qualified name of the server to return the configuration for.userName The full user name (Domain\User) to use when opening the file.password The password for the user name.
A System.Configuration.Configuration object.
This method is used to access a configuration file using impersonation.