<authentication mode="Windows"/> 如果验证方式设置为Windows,则User.Identify.Name取到的是机器名
<authentication mode="Forms">
<forms name="forums" path="/" loginUrl="Login.aspx" protection="All" timeout="40">
</forms>
</authentication> 如果验证方式设置为Forms,则User.Identify.Name取到的是用户登录的系统名称
转载于:https://wwwblogs/CommonDream/archive/2012/01/31/2332637.html
更多推荐
User.Identify.Name取值问题
发布评论