ASP.Net MVC 3 Login and Windows Authentication

前端 未结 2 1026
走了就别回头了
走了就别回头了 2021-02-02 03:12

I am working on an ASP.Net MVC 3 application and I am having a User table that stores usernames and their passwords. I have created an additional ADUsername (stores Active Direc

2条回答
  •  野性不改
    2021-02-02 03:35

    if you're using a mixed authentication why don't you get AD User via context?

      context.Request.ServerVariables["LOGON_USER"] 
    

提交回复
热议问题