username cgi

Ben Hutchings do-not-spam-ben.hutchings at businesswebsoftware.com
Wed Mar 19 11:19:58 EST 2003


In article <b54oha$1avjo$1 at baligan2.unicaen.fr>, Anthony Paul wrote:
> 
> Hello,
> 
> I am writing a forum on intranet using python. I don't want my users 
> have to enter their username when they will add a message, so I need to 
> read the %username% environment variable of the workstations (they're 
> running win2k).
> 
> Is it possible ?
> I found a solution about REMOTE_USER but it needs web 
> authentification...

It's possible, as long as the server is IIS and the browser is IE.
Just configure IIS to use Integrated Windows Authentication, and the
username should show up in REMOTE_USER.  If you're using standard web
software then I think you're out of luck.




More information about the Python-list mailing list