locked
The server-side login user when debugging is not the browser logged in user RRS feed

  • Question

  • When I debug an HTML Client in Visual Studio, IE opens and asks for the login (I'm using Windows Auth) but then, on the server side code, Application.Current.User shows not the user that I logged in with on the browser, but the user I'm logged in at Windows.

    I'm trying to debug some specific permissions-validation code so the "Project -> Properties -> Access Control -> Permissions for Debugging" screen is not enough for what I need.

    This only happens when debugging in Visual Studio. If I Publish the application to a local IIS, everything works fine (Application.Current.User is in fact, the user that I logged on the browser).

    Friday, April 12, 2013 7:19 PM