开发者

Fetching logged on user name from web application

开发者 https://www.devze.com 2023-02-02 14:43 出处:网络
IS it possible to get the windows LogOn username of client from web application. and how does this actually works

IS it possible to get the windows LogOn username of client from web application. and how does this actually works

Request.ServerVariables("LOGON_USER") also not works in this case as I don't want user to authenicate first

While

Dim ident As Wind开发者_JAVA百科owsIdentity = WindowsIdentity.GetCurrent()

this is windows specific which gives the user where the code is?

How should I go with this.


found what I want Context.Request.LogonUserIdentity.Name gives the logon user name..

0

精彩评论

暂无评论...
验证码 换一张
取 消