Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Remote Windows Login
December 26, 2004, 11:46 am
rate this thread
My system runs on a LAN. I have been trying to find a way of
identifying the windows username of each remote user of the system and
allocate the value to a variable. I have tried functions like
"get_current_user()", "getmyuid" and "php_uname(n)", but all have been
unsuccessful. The "php_uname(n)" was closest but only provided me
with the Windows Username of the server. It is the remote user's
Windows Username that I want. Is what I am trying to do possible or is
it just not logical. Can anyone point me in the right direction?
Re: Remote Windows Login
on 12/26/2004 11:46 AM Andy said the following:
If you have Windows domain (NTLM) authentication turned on, you can just
do GetEnv("LOGON_USER"); to get the authenticated user name. No
authentication prompt appears.
PHP Classes - Free ready to use OOP components written in PHP
PHP Reviews - Reviews of PHP books and other products
Metastorage - Data object relational mapping layer generator