Hi
Is there a way get the current connected user in a SAS EG Custom Addin?
For example - If user 'xyz' launches an SAS EG session and starts a custom addin task, so is there a way to determine the name of the user who launced the SAS EG session.
I know, I could run a piece of SAS code to get the username by reading results of underlying OS system command, but was wondering whether SAS EG Addin libraries provided some way.
Thanks
Vinay
There is a macro variable for that
_CLIENTUSERNAME
Try this google search for more
enterprise guide macro variables
Doc Muhlbaier
Duke
Thanks, It indeed gives me what I am looking for.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.