Answers for "get the logged in user java"

-1

get the logged in user java

String windowsUser = System.getProperty("user.name");
  String windowsDomain = System.getenv("USERDOMAIN");
  System.out.println ("User=" + windowsDomain + "\\" + windowsUser);
Posted by: Guest on February-22-2021

Code answers related to "get the logged in user java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language