BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BartDekeyser
Calcite | Level 5

 

Is it possible to retrieve the userid in sas studio ?

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
andreas_lds
Jade | Level 19

Three macro-variables contain information about the current user:

  • _ClientUserId
  • _ClientUserName
  • _MetaUser
Kurt_Bremser
Super User

@BartDekeyser wrote:

 

Is it possible to retrieve the userid in sas studio ?


In addition to @andreas_lds, you can use &sysuserid. to retrieve the username of the workspace server process.

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 2 replies
  • 2644 views
  • 0 likes
  • 3 in conversation