httpcontext.current.user.identity.name
百变猪娃娃 2014-09-22 05:55:38 谁访问服务器,得到的就是谁的windows登录名,对吗?
比如A用户的windows登录名是aaa,他访问服务器,那么程序得到的 httpcontext.current.user.identity.name 值就是 aaa;
比如B用户的windows登录名是bbb,他访问服务器,那么程序得到的 httpcontext.current.user.identity.name 值就是 bbb;
对吗?
或者是无论是谁访问服务器,程序得到的 httpcontext.current.user.identity.name 值都是 服务器的windows登录名。