Author: craigmacca24 | Posted on: 9/23/2010 11:29:33 AM | Views : 500

Hi i need to impersionate a windows user in a web application, i am using the examplein the url below, the issue i have is to get this working i have to set the <identity impersonate="true"> in the web.config. i cant do this as it stop my ad login working.
is there another way to set this in code so only my block of code with use impersonate="true"


http://www.java2s.com/Code/CSharp/Windows/WindowsImpersonationContext.htm
...

Go to the complete details ...