IntegratedSecurityGetDetails.Username = PORTO\PORTO
IntegratedSecurityGetDetails.isAuthenticated = TRUE
IIS 7 was difficult for figuring out why i was getting the 401 - Unauthorized: Access is denied due to invalid credentials... until i did this...
1.) Open iis and select the website that is causing the 401
2.) Open the "Authentication" property under the "IIS" header
3.) Click the "Windows Authentication" item and click "Providers"
4.) For me the issue was that Negotiate was above NTLM. I assume that there was some kind of handshake going on behind the scenes, but i was never really authenticated. I moved the NTLM to the top most spot, and BAM that fixed it."
thanks Miguel Melo for the help...
i was preparing to post the solution....