in reply to Retrieve Domain Username

Wouldn't cookies do the trick?

Update: Sorry - you would need to rely on the cookie being set a the time of entry to the domain - which you obviously don't want to do...

Replies are listed 'Best First'.
Re^2: Retrieve Domain Username
by earl_the_perl (Novice) on Oct 04, 2004 at 18:32 UTC
    Cookies would work after the initial login. I just wanted to see if there was a way to do it, without having them login ever. Because they've already authenticated on the domain, I don't need to repeat the step of authentication.

    It looks like I'm going to have to initially reauthenticate them, and then use as you suggest....the cookie.

      Sorry - I've started obtuse, so I'll continue...

      Surely to make use of the username you would have to have access to the main entrance db. If you have their trust then you could just explain the problem to them and ask them to place a cookie with the info you need on entry to the main domain. If you don't have access to the db are you just using the username as a label to bunch multiple requests together? In which case you could just assign your own label and set the cookie seamlessly - the same user will then be recognised on entry.

      Just trying to get a handle on what's going on here...