Hi,
How can I find identity of windows authenticated user in web api controller.
Code
User.Identity.Name;
this.User.Identity.Name;
HttpContext.Current.User.Identity.Name;all of the above options I hve tried bt not working
User.Identity.Name;
this.User.Identity.Name;
HttpContext.Current.User.Identity.Name;
Answers
Know the answer? Post it. Somebody with the same question will find it here.