If your application should really complete an action on behalf of the person, use WindowsIdentity.RunImpersonated or RunImpersonatedAsync in a terminal inline middleware in Plan.cs. Operate a single action On this context after which you can shut the context. Some benefits of Net sorts are : It supports an celebration model https://rafaelkncaz.designertoblog.com/60054474/not-known-details-about-asp-net-help-online