Desktop productivity for business analysts and programmers

SAS EG Custom Addin - SAS EG 5.1

Reply
Occasional Contributor
Posts: 11

SAS EG Custom Addin - SAS EG 5.1


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

Trusted Advisor
Posts: 2,114

Re: SAS EG Custom Addin - SAS EG 5.1

There is a macro variable for that

_CLIENTUSERNAME

Try this google search for more

enterprise guide macro variables

Doc Muhlbaier

Duke

Occasional Contributor
Posts: 11

Re: SAS EG Custom Addin - SAS EG 5.1

Thanks, It indeed gives me what I am looking for.

Ask a Question
Discussion stats
  • 2 replies
  • 339 views
  • 1 like
  • 2 in conversation