How to retrieve user name in case of Window Authentication?

2 votes
175 views
Tarun Gautam asked 15-Nov-2017 in programming by Tarun Gautam

How to retrieve user name in case of Window Authentication?

1 Answer

3 votes
Uttam Misra answered 01-Dec-2017 by Uttam Misra
Should work for you:
User.Identity.Name