Your SAS programs, embedded in web apps and elsewhere

Metadata User

Reply
N/A
Posts: 0

Metadata User

Hi Ppl

How can I get the sas metadata user id in code in Guide?

Best Regards,
Baraka
Occasional Contributor
Posts: 18

Re: Metadata User

I think you can use the SAS Stored Process macro variables _METAUSER, _METAPERSON.
Super User
Posts: 5,254

Re: Metadata User

I don't think they will work unless you are running a SP from EG. But there are other macro variables you can use such as:
_EGUSERID
_EGUSERNAME
_CLIENTUSERID
_CLIENTUSERNAME

I'm not sure though how the _CLIENTxxxx and _EGxxxxx variables relate to each other. For me, both are set to the same values.

Regards,
Linus
Data never sleeps
Ask a Question
Discussion stats
  • 2 replies
  • 193 views
  • 0 likes
  • 3 in conversation