Hi, is there a way to export the current logged on Windows user to a variable so that info can be used in a "created by" note on a view?
Quite a newbie in JS and jArchi.
Txs.
Hi,
You can get the current logged in user through java.lang.System:
var System = Java.type('java.lang.System');
console.log(System.getProperty("user.name"));
Regards,
JB
Super, thanks. Works perfectly.