如何在窗口7中使用c#获取http当前用户身份 [英] how to get http current user identity using c# in window 7

查看:124
本文介绍了如何在窗口7中使用c#获取http当前用户身份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



如何根据Windows 7操作系统上的Windows登录获取http当前用户身份。它可能不是与操作系统相关但我在xp上获取数据但在窗口7上没有,我使用身份验证模式到Windows。如果http.current.user.identity.authenticad = true,请使用上面的类来解决问题。

Hi all ,

how can i get the http current user identity based on windows login on windows 7 operating system. it may not be relavent with OS but i am getting data on xp but not on window 7, i use authentication mode to windows. and use above class to chekc if http.current.user.identity.authenticad = true.

推荐答案

请从这里开始:

http://msdn.microsoft.com/en-us/library/eeyk640h.ASPX [<一个href =http://msdn.microsoft.com/en-us/library/eeyk640h.ASPX\"target =_ blanktitle =New Window> ^ ],

http://msdn.microsoft.com/en-us/library/907hb5w9.ASPX [ ^ ]。



-SA
Please start here:
http://msdn.microsoft.com/en-us/library/eeyk640h.ASPX[^],
http://msdn.microsoft.com/en-us/library/907hb5w9.ASPX[^].

—SA


这篇关于如何在窗口7中使用c#获取http当前用户身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆