D
D
DunkanMaklaut2020-09-01 11:11:00
Java
DunkanMaklaut, 2020-09-01 11:11:00

Is it possible to get a username? records of a person who connected to a web application over a local area network (Java)?

On the server there is a web application through which all PCs on the local network can connect to this application by entering some IP / "web application" in the browser, the program is packed so that the username is taken from the PC where the application is located in this case with the command Is it possible to get the login of that who connects to the web application?

System.getenv("USERNAME");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2020-09-01
@fzfx

The login of the one who connected to the web application can be obtained if there is a mechanism for obtaining the login of the one who connected to the web application. You, as the developer of this app, need to know your app's device better than anyone. If you are not the developer of this application, please refer to the application documentation or to the application developer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question