How to get user details in asp.net Windows Authentication

后端 未结 3 1260
既然无缘
既然无缘 2020-12-28 11:03

I am using windows Authentication and accessing user name as.

IIdentity winId = HttpContext.Current.User.Identity;
string name = winId.Name;
<
3条回答
提交回复
热议问题