RE: [PHP-WIN] Re: How to Pass the Username which from Windows Log in

From: Date: Fri, 29 Mar 2002 17:44:21 +0000
Subject: RE: [PHP-WIN] Re: How to Pass the Username which from Windows Log in
Groups: php.general php.windows 
Request: Send a blank email to php-general+get-90687@lists.php.net to get a copy of this message
Does this retrieve the userid of the machine where the web server is running, or does it retrieve the userid of the machine where the browser is running? Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -----Original Message----- From: J Wynia [mailto:letterj@phpgeek.com] Sent: Friday, March 29, 2002 8:38 AM To: php-general@lists.php.net; php-windows@lists.php.net Subject: [PHP-WIN] Re: How to Pass the Username which from Windows Login $network = new COM("WScript.Network"); $computername = $network->ComputerName; $username = $network->UserName; Password can't be grabbed for fairly obvious reasons. "Jack" <jack@nedcor.com> wrote in message news:20020325062554.44036.qmail@pb1.pair.com... > Dear all > I want to prevent user to make another login before they can browse the > Intranet, so is there anyway that php can grep the username from the windows > Login or Domain Login? > Which means if a user can login to the Windows NT, then he/she will have the > right to browse the Intranet! > > Thx a lot > Jack > jack@nedcor.com > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#90687) next »