The value returned by this method is the proxy username set when the object was created.
proxySettings.getUsername();