3

I know you can impersonate in web.config,

Is the exact same thing possible in app.config for a console application?

JL.
  • 78,954
  • 126
  • 311
  • 459

1 Answers1

4

Console apps already run in the context of the running user, so yes, this is the default behavior.

ASP.NET has this feature because the iis worker process is already running in the context of the ASPNET account, not the browsing user.

Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125