Is there any way to get the user of a process (as it is shown in the task manager) in Windows using java?
Any help will be appreciated. Thanks.
Is there any way to get the user of a process (as it is shown in the task manager) in Windows using java?
Any help will be appreciated. Thanks.
You can get the process owner using this
System.getProperty("user.name");