且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

asp.net Web应用程序中的Windows身份验证

更新时间:2023-11-22 16:26:16

string strAccount = HttpContext.Current.User.Identity.Name.ToString();
string strUserName = strAccount .Split("\\".ToCharArray())[1];