Re: How can I retreive a users Windows logon name?

From: Date: Mon, 17 Sep 2001 16:41:12 +0000
Subject: Re: How can I retreive a users Windows logon name?
Groups: php.windows 
Request: Send a blank email to php-windows+get-9386@lists.php.net to get a copy of this message
Hi Christian, If you change the access control from Basic to NT LM for the Intranet web site you will gain the following things: 1) Users loged on to the same NT domain as the web server will be veryfied and have access to your Intranet. This will work for IE browsers. If you use netscape or the user is unautoraized by the NT Domain the user will be prompted for a user id and password. 2) The users login name and auth method will be available in $AUTH_USER and $AUTH_TYPE. - Frank > Hi group, > > Is there any way I can retreive a users Windows logon name? > > I'm running a system with IIS 4/PHP 4.0.6/MySQL 3.23.xx. > > Basicaly what I'm after is some simple way to verify what user is accessing > our intranet, without having to prompt the user for his initials. > > I am aware that this does not provide for much security, but that's ok (I'm > not after security, only after a simple user verification). > > I thank you in advance for your time ;-) > > /Christian > > ---------------------------------------------- > Christian Sandfeld > Zensys A/S > ---------------------------------------------- > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.windows (#9386) next »