Pass windows authentication username to asp variable
I have a site that processes orders taken by phone into a SQL database. Access to the portal uses Windows Authentication and I would like to pass the username of the order processor along with the order so that I can record who has taken the order.
How can I pass the user name to a f开发者_StackOverfloworm element?
The pages are written in classic asp.
Thanks.
Once authenticated with Windows Authentication, you can get the username
with Request.ServerVariables("LOGON_USER").
精彩评论