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取到的是用户登录的系统名称

posted @ 2012-01-31 10:13  iisp  阅读(281)  评论(0编辑  收藏  举报