current-principal Questions

5

Solved

Below is a simplified version of where I am trying to set Thread.CurrentPrincipal within an async method to a custom UserPrincipal object but the custom object is getting lost after leaving the awa...

2

I'm trying to use System.Threading.Thread.CurrentPrincipal.Identity.Name to get the login of who is using an ASP.NET application. I'm not getting any build errors, but it returns a blank value. I'm...
Whipple asked 19/6, 2014 at 15:12

1

Solved

Would using Thread.CurrentPrincipal's claims in a referenced library that uses ConfigureAwait(false) pose any problems or will the flowing of ExecutionContext's logical call context take care of me...

1

Solved

I enabled impersonation and Windows authentication. <authentication mode="Windows" /> <identity impersonate="true" userName="name" password="passord&quot...

2

Solved

Possible Duplicate: difference between http.context.user and thread.currentprincipal and when to use them? What's the difference between these two in an ASP.NET application? I know t...
Bisulcate asked 25/7, 2011 at 0:46
1

© 2022 - 2024 — McMap. All rights reserved.