single sign on - how to get current logged windows username by php without windows authentication -


How to get the PHP login window user name without windows authentication?

I tried to use Javascript, but it needs to enable a setting in the IE browser, it is not possible for all users to ask to do this.

Any other solution?

My application is in DMZ, AD server in intranet, in different domains ..

Current user: & lt ;? Php echo getenv ("username"); ? & Gt;

List of environmental variables: & lt ;? Php Global $ _ENV; Var_dump ($ _ ENV); ? & Gt;

Comments

Popular posts from this blog

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -

jasper reports - How to center align barcode using jasperreports and barcode4j -

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -