Facebook Twitter Reddit LinkedIn

Determining the Logged-on User from ASP

If you're using Basic or NT Challenge/Response security for access to your Web site, you can programmatically determine which user is accessing a page at any given time. To do so, simply interrogate the value of the following:


Note that, by definition, you'll simply get back an empty string if you're using anonymous security on your Web site.

Source: Jason Fisher
© 2007-2019 All rights reserved.   Part of the somuch.com group of trusted web sites.   PO Box 351031, Palm Coast FL 32135-1031