Hello,

David Rochwerger wrote:
> 
> Is there a class / function etc that reads the network login of the current
> user on NT machines? (I thought that get_current_user() might be able to be
> used by getting the user to create a file??)
> This function should (ideally) do the same as Request.ServerVariables
> ("LOGON_USER") in ASP.

AFAIK, the way that works is by querying the NT domain controller about
the current remote user IP to see if it corresponds an authenticated
user and if so it is just a matter of setting the LOGON_USER environment
variable that you can retrieve via GetEnv.

I am not a Windows expert, but I suppose that should not be hard to do
via some COM object. You may want to ask Stefan Bergmann or some other
Windows expert.

Actually it would be useful for PHP users under Windows because if it is
easy with ASP, there is no reason for it to be as easy with PHP and
being able to do so there it would be one less reason for companies that
uses Windows to prefer ASP or something else over PHP.

So, I think it would be nice to have that feature built-in PHP because
it would allow to develop PHP applications under Windows without
requiring Windows users to authenticate more than once.

Regards,
Manuel Lemos


> 
> Thanks
> 
> David
> 
> Privileged/Confidential Information may be contained in this message.
> If you are not the addressee indicated in this message, you may not copy
> or deliver this message to anyone.  In such case, you should destroy this
> message and notify the sender by reply email. Opinions, conclusions and
> other information in this message that do not relate to the official
> business of this organisation shall be understood as neither given nor
> endorsed by it.
> 
> ------------------------ Yahoo! Groups Sponsor ---------------------~-->
> Tiny Wireless Camera under $80!
> Order Now! FREE VCR Commander!
> Click Here - Only 1 Day Left!
> http://us.click.yahoo.com/WoOlbB/7.PDAA/ySSFAA/saFolB/TM
> ---------------------------------------------------------------------~->
> 
> Look here for Free PHP Classes of objects:
> http://phpclasses.UpperDesign.com/
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to