I suspect Photoshop that this is intentionally unavailable from JSX.
But you could from JSX read preferences binaries files.
This red value shoul be password. Maybe together with IP. "Machine prefs.psp"
I am not sure if pass is together with IP or if it's only pass. It is too long. Server name is like UTF8 plaintext
You can try make copy of settings file, change password and then compare binaries. But I thing this is somehow encrypted.
ok, I will give it a try. thank you
Ok.. please let me know if you solved it. Maybe it uses same encryption like in Connection SDK