aaronlzw_21 Posted May 18, 2006 Share Posted May 18, 2006 is there a command that allows me to capture the user id of the person logged on to windows computer? Link to comment https://forums.phpfreaks.com/topic/9893-capturing-windows-logged-in-user-id/ Share on other sites More sharing options...
.josh Posted May 18, 2006 Share Posted May 18, 2006 possibly with an activex control (javascript/vbscript/some other clientside script) but good luck on that one [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] Link to comment https://forums.phpfreaks.com/topic/9893-capturing-windows-logged-in-user-id/#findComment-36805 Share on other sites More sharing options...
Barand Posted May 18, 2006 Share Posted May 18, 2006 Try[code]echo $_SERVER['LOGON_USER'];[/code]--> domain\username Link to comment https://forums.phpfreaks.com/topic/9893-capturing-windows-logged-in-user-id/#findComment-36836 Share on other sites More sharing options...
shocker-z Posted May 18, 2006 Share Posted May 18, 2006 show'ed blank for me.. maby wokr systems tho not sending correct info? Link to comment https://forums.phpfreaks.com/topic/9893-capturing-windows-logged-in-user-id/#findComment-36837 Share on other sites More sharing options...
Barand Posted May 18, 2006 Share Posted May 18, 2006 I use that on our intranet (IIS)You need to disable anonymous access in the IIS control panel. Link to comment https://forums.phpfreaks.com/topic/9893-capturing-windows-logged-in-user-id/#findComment-36840 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.