windows authentication in ASP.Net
So, i have my virtual directory with Anonymous Access disable开发者_JAVA百科d. I allow users to login to my app through the windows server login. I wish to know how i can, through the code, capture the username that is logging in.
Is this possible?
Thanks
HttpRequest.Current.User.Identity.Name or simply User.Identity.Name if you are in a Page should give you the name of the user currently logged in.
加载中,请稍侯......
精彩评论