Who am I impersonating?

From: Gary Bagen (garbage400_at_hotmail.com)
Date: 02/27/04


Date: 26 Feb 2004 16:07:02 -0800

Is there a way I can get the user of the identity I will be
impersonating to get network resources?

I know WindowsIdentity.GetCurrent().Name for the person coming into
the ASP.NET app but I want to do some testing of different
combinations of impersonating based on Anon, Windows Auth, and
impersonate = true in web.config. So I am looking for the identity
that will be used for the ASP.NET app to go to a network resource.

thanks,
Gar



Relevant Pages

  • Re: Who am I impersonating?
    ... For production, what we plan on doing is using the ProcessModel ... with my ASP.NET temporary test app, I just wanted to display the name ... try and use network resources from the ASP.NET app. ... >> impersonating to get network resources? ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Who am I impersonating?
    ... "can I impersonate the caller in such a way that I can ... access network resources as that caller", ... > impersonating to get network resources? ... > that will be used for the ASP.NET app to go to a network resource. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Performance monitoring: strange error in .Net 2.0
    ... | Logon OK ... impersonated another account with administrator rights (neither of the two ... > Note also that your code is impersonating an interactive logon type, ... The real app uses either interactive or LOGON32_LOGON_NEW_CREDENTIALS, ...
    (microsoft.public.dotnet.framework.clr)
  • Access Is Denied
    ... object from my COM component in an ASP.NET app, ... the \ASPNET account for this file, ... impersonating, unless it's really necessary. ... the current web request. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Impersonation, ASP.NET and IS via OLEDB
    ... OLEDB from ASP.NET whilst impersonating the end-user (windows auth) for quite ...
    (microsoft.public.inetserver.indexserver)