BookmarkSubscribeRSS Feed
danielmitu
Obsidian | Level 7

Hello,

 

is there a code to extract all users from SAS and the groups in which they are members ?

I have a code for extracting only the users.


Thanks

4 REPLIES 4
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Perhaps you posted in the wrong section, what software are you using.  There is no users/groups in Base SAS for instance, so I assume it EG or DI or one of the other software packages.

danielmitu
Obsidian | Level 7

This will extract also the last login time ?


Thanks

Kurt_Bremser
Super User

SAS metadata has static (definition) information; for dynamic information like login times etc, either look at the Environment Manager or the metadata server / object spawner logs.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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