[quoted text, click to view] "Mitch Stone" <Mitch Stone@discussions.microsoft.com> wrote in message
news:4942E291-27C1-4898-B0C9-5D747EE1D480@microsoft.com...
> We're running IIS 6.0 on our company intranet, and I am building a subsite
> for our team using ASP. I want to capture the username of the person
hitting
> any given webpage (so I can dynamically determine which links a user
sees).
>
> I am aware that we'll need to turn off Anonymous login, and enable Windows
> Authentication which obviously recognizes the very username I want to
> capture, but have no idea how to grab it!
>
> Can anyone help?
In ASP you can use Request.ServerVariables("LOGON_USER").