Forum Discussion
HsuanC
Apr 15, 2022Copper Contributor
How to get the identity name from the httpcontext
Hi there, I can get the identity name through "HttpContext.User.Identity.Name" in localhost. But when I deployed to my server, it always fail to get the identify name. P.S. Both machine are in th...
LanHuang
Apr 19, 2022Former Employee
Hi HsuanC,
Thanks for posting your issue here.
However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang