How to read client username at client event startup

Is there any tag or api available to read client user name at client event startup script

Have you tried this (in Vision)?

https://docs.inductiveautomation.com/display/DOC81/system.security.getUsername

Sir this is working for me thanks.