I am looking for a way to get the NT user on the client side of an internal web application with Vaadin.
The aim is to set username automatically on a login form when the user start the application.
I assume that by “NT user” you mean the Windows user?
As far as I know, that is not possible. I believe that it is an browser privacy feature that it doesn’t tell the user identity to websites. See for example
http://www.webmasterworld.com/javascript/3441878.htm . Even if it were, it would be specific to IE and Windows.
If you want automation for the login, the basic techniques are:
use the
LoginForm , which enables the form autocompletion in browsers,