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

Hi,

For internal audit issues they are asking me for a list of groups and roles with their descriptions as they come in the SAS Management Console I don't know much about SAS code. Is there a way to get this with code?


I would greatly appreciate your help.

1 ACCEPTED SOLUTION

Accepted Solutions
andreas_lds
Jade | Level 19

The macro %mduextr exports all users and groups to datasets, the dataset group_info contains all groups and roles including their description.

View solution in original post

4 REPLIES 4
SASKiwi
PROC Star

Do you synch your SAS metadata user definitions from external security sources such as Active Directory? If the answer is yes then you can query Active Directory SAS AD group data just using SQL. If no then you will need to query the SAS metadata repository for which there are some standard macros that SAS provides.

Armand0
Calcite | Level 5

thanks for your comment, Will you know the name of the macros that you mention?

andreas_lds
Jade | Level 19

The macro %mduextr exports all users and groups to datasets, the dataset group_info contains all groups and roles including their description.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1427 views
  • 4 likes
  • 4 in conversation