Hi, I want to know how to retrieve the desktop credentials from a java program. Is it possible to retrieve the userid and password that the user used to login into the network.
The userid you want is probably available using java.lang.System.getProperty("user.name")I don't believe you'll be able to access the password using Java.