How to retrieve user name in case of Window Authentication?

2 votes
252 views
Anonymous User asked 15-Nov-2017 in programming by Anonymous User

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