Retrieves the user name for the current thread.
public static final String getUserName()
Returns a String object that represents the current user name.
Use the getUserName method to obtain the name of the user currently logged on to the system.