Get info for impersonate

  • Thread starter Alhambra Eidos Kiquenet
  • Start date
A

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.
 
D

Dominick Baier

you can query the config

like

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

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top