BookmarkSubscribeRSS Feed
Wendy
Calcite | Level 5

Hello there,

Before my script can populate the &_EGuserID automatically. But after upgrading the EG to the latest version, the SAS log reports that:

"Apparently symbolic reference _EGUSERID not resolved."

Then I did some research, it seems there is another variable which has the similar function, _MetaUser.

Here just want to confirm with the EG experts whether above fact is true, or just because I did something incorrect.

Thank you!

-Wendy

3 REPLIES 3
twocanbazza
Quartz | Level 8

I know there is

_CLIENTUSERID and _CLIENTUSERNAME

We are using SAS EG 4.3 and SAS9.2 and I can't seem to so _EGUSERID, so may have been a 4.2 one.

Barry

Rickyboy81
Calcite | Level 5

You also need to get rid of the single speech marks if you want it exactly the same:

%let userID = %sysfunc(compress(&_CLIENTUSERNAME,"'"));

%put userID = &userID;

ChrisHemedinger
Community Manager

See this for more information:

http://blogs.sas.com/content/sasdummy/2010/03/15/multiple-identities-for-all-of-the-people-you-are/

Chris

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1857 views
  • 0 likes
  • 4 in conversation