Can I impersonate app.config for a console application?

I know that you can impersonate in web.config,

Can the same thing be done in app.config for a console application?

+3
source share
1 answer

Console applications are already running in the context of a working user, so yes, this is the default behavior.

ASP.NET has this feature because the iis workflow is already running in the context of the ASPNET account, and not for the user viewing the pages.

+4
source

Source: https://habr.com/ru/post/1715509/


All Articles