0

I know that I can get the local user name and home directory by the command

System.getProperty("user.name")

and

System.getProperty("user.home")

I would like to know if there are any commands available in java to obtain a remote system's user name and home directory.

vinS
  • 1,417
  • 5
  • 24
  • 37
  • @meditat no,he is under a different IP –  Dec 20 '17 at 07:01
  • 1
    define "a remote system", what kind of access do you have? – ryenus Dec 20 '17 at 07:22
  • Possible duplicate of [How to get the remote user's username in java](https://stackoverflow.com/questions/25031746/how-to-get-the-remote-users-username-in-java) – Sanal S Dec 20 '17 at 07:48

0 Answers0