Environmental issue

In a web application I'm impersonating the client user. The GetFolderPath expands to the impersonated user's special folders. I would expect the the Environment.ExpandEnvironmentVariables to expand to the impersonated user's environment variables - but no... The environment variables are expanded to the IIS service account's.

Google
m@kli.dk @klinkby RSS feed  GitHub