If user logged onto machine with his domain name and password, how to get his user name on the server side?
+2
A:
The user's client has to report the username to you. Without things like a browser-plugin, that adds the username to each http request, i can't think of an easy way to do this.
lajuette
2010-03-13 09:01:37
A:
Without any extra software (commonly referred to as single sign-on), providing an authentication token somehow, this is not possible.
Or are you asking how to get the username of the system user running the server application?
roe
2010-03-13 09:03:06
Nope, the system user name i can get from $SERVER variable, it's easy :)Thanks, anyway!
stee1rat
2010-03-13 09:06:04
+1
A:
I assume you're talking of windows domain.
Google for PHP NTLM
Col. Shrapnel
2010-03-13 09:06:36