Link to home
Start Free TrialLog in
Avatar of stevebeech
stevebeech

asked on

Howto detect XP user

How can I detect the currently logged-in user in XP from with a Java program?
ASKER CERTIFIED SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
returns the User's account name (String)

For the others see http://java.sun.com/docs/books/tutorial/essential/system/properties.html
Thanks