This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Get Current user logged
#1
Hello,

¿How can I get the current user's name that was logged in the LM?

Thanks by yor help.
Reply
#2
In newer firmwares you can access Globals.user variable in custom JavaScript. For event scripts you can check event.meta field, but it's only set when object value is changed via UI/Visualization.
Reply
#3
(21.10.2020, 07:10)admin Wrote: In newer firmwares you can access Globals.user variable in custom JavaScript. For event scripts you can check event.meta field, but it's only set when object value is changed via UI/Visualization.

I've found that Globals.user is not available from Custom Javascript when Schedulers opened. Is this intentionally?
Done is better than perfect
Reply


Forum Jump: