• Post Reply Bookmark Topic Watch Topic
  • New Topic

Read NT User Name  RSS feed

 
Amitabh Prasad
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is it possible to get NT user name of the person logged in to the System using Java.
Thanks in advance
Regards
Amitabh
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String userName = System.getProperties(user.name);
 
David Yutzy
tumbleweed and gunslinger
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also found that request.getRemoteUser() works as well...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!