且构网

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

如何在asp.net中没有Windows登录提示的情况下获取Windows登录用户名

更新时间:2022-11-03 10:04:28

如果要获取客户端使用的Windows用户名是使用您的应用程序,则必须使用Windows身份验证或要求用户在应用程序的某处输入用户名。
If you want to get the windows user name of the client use is using your application, you have to either use windows authentication or ask the user to enter the user name somewhere in your application.