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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.