Capture user name logged into the machine via Web Application

5

There are two applications, one in Java and one in ASP, and both can integrate with Active Directory without typing user name and network password. The application made using ASP, logs in automatically when accessing the url, however it does not work in Firefox and I have to enter username and password. The application made in Java, I select an option and the login is done automatically.

Questions

How can I capture the user name logged in without an Applet or ActiveX Control? Javascript? I always thought getting the machine user was only possible with Applet or ActiveX Control

Comments: There are similar questions, but it is to do integration via language. I do not have the source code for the two applications to see how it's done, and I've already reviewed Chrome Dev Tools and found nothing.

    
asked by anonymous 18.12.2015 / 20:14

2 answers

1

It is not possible, since javascript does not have direct access to the operating system. It would only be possible if you have a server-side script running on your client, and by javascript you make an ajax request and get that value.

    
08.04.2016 / 20:42
0

Local Storage that can be used across multiple browsers. Or store like any other variable by the same checkbox in your php code with save option, creating a button with the option to remember it.

    
22.12.2015 / 20:11