I need get a network user name, but I don't know how!
I try
"System.getenv("USERNAME")"
,
"System.getProperty("user.name")"
and
"new com.sun.security.auth.module.NTSystem().getName()"
,
but didn't work, they get local user name, on server they get "server806"
and may network user name is "pc8695"
.
How can I get client user name on client pc??