摘要:
1.在IIS中将访问方式更改为不允许匿名访问2.在Web.config中将验证方式更改为 <identity impersonate="true"/> <authentication mode="Windows" />3.在源代码中使用string username= Security.Principal.WindowsIdentity.GetCurrent().Namestring[] info = username.Split(new char[1] { '\\' }, StringSplitOptions.R 阅读全文
posted @ 2011-11-18 10:47
与时俱进
阅读(789)
评论(0)
推荐(0)


浙公网安备 33010602011771号