Get info for impersonate

  • Thread starter Alhambra Eidos Kiquenet
  • Start date


Alhambra Eidos Kiquenet

Hi all misters,

I have ASP.NET application, and in my web.config appears the following lines:

<!--The <authentication> section enables configuration of the security
authentication mode used by ASP.NET to identify an incoming user. -->
<authentication mode="Windows"></authentication>
<identity impersonate="true"/>

In my code C#, I want to know if the value for impersonate is true ? How is
possible it ?

Thanks for your attention. Any help will be very grateful. Regards, greetings.



Dominick Baier

you can query the config


IdentitySection section = WebConfigurationManager.GetSection("system.web/identity");

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question