User.Identify.Name取值问题

<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://www.cnblogs.com/CommonDream/p/2332637.html