How to Use CurrentPrincipal
The user running a .Net application is identified by the Thread.CurrentPrincipal
property of the running thread. You can set the CurrentPrincipal
at application startup as follows.
The user running a .Net application is identified by the Thread.CurrentPrincipal
property of the running thread. You can set the CurrentPrincipal
at application startup as follows.