本文介绍了使用Windows身份验证获取Windows用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用Windows身份验证获取Windows用户名??? ..............
Getting windows username using windows authentication???..............
推荐答案将应用程序配置为使用Windows身份验证,然后只需使用这段代码即可获取Windows域\用户名: Once you have configured your app to use windows authentication, then just use this piece of code to get the Windows domain\username: HttpContext.Current.User.Identity.Name
更多推荐
使用Windows身份验证获取Windows用户名
发布评论