开发者

Pass windows authentication username to asp variable

开发者 https://www.devze.com 2022-12-27 14:35 出处:网络
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 ord

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").

0

精彩评论

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