How to get the current application pool user in IIS when using impersonate=true?

Posted by Simon on Stack Overflow See other posts from Stack Overflow or by Simon
Published on 2010-04-30T01:05:30Z Indexed on 2010/04/30 1:17 UTC
Read the original article Hit count: 281

In .net when a website hosted in IIS how do you get the current user the website is running under. ie the Application Pool user not the the current user accessing the site.

Using windows integrated and impersonate.

<authentication mode="Windows"/>
<identity impersonate="true"/>

© Stack Overflow or respective owner

Related posts about iis

Related posts about windows-integrated-authen