BookmarkSubscribeRSS Feed
nikhil_khanolkar
Calcite | Level 5

Hi,

Can we do the Metadata user management with base SAS code instead of using SAS Management console. In my project we want to edit user permissions on a real time basis.

e.g. adding/removing users in the already created groups in metadata

       creating new SAS users in metadata etc.

Any help on this would be appreciated.

Thanks,

Nikhil

6 REPLIES 6
LinusH
Tourmaline | Level 20

Editing metadata in SMC is a real time action...

So describe a bit more what you mean be real time, what is the requirement?

The most straight forward technique to update user/group metadata in the background is to use the %mdu-familly macros.

Data never sleeps
nikhil_khanolkar
Calcite | Level 5

Hi Linus,

Thanks for writing. Business scenario is below.

a) We have a user base out of which metadata permissions for few users might change on a frequent basis. This information would be retrieved and stored in a datasets multiple times in a day.

b) we need to use this information and update the user metadata multiple times in a day using batch job.

I hope this clariifies the problem statement.

Thanks,

Nikhil

jakarman
Barite | Level 11

Agree kurt missed that other one....

---->-- ja karman --<-----
jakarman
Barite | Level 11

The SMC is just one of the may interfaces doing and capable of doing updates into the metadatabase.
You can write almost anything using your own coding.

- SAS(R) 9.3 Language Interfaces to Metadata (batch steps)
- SAS(R) 9.4 Open Metadata Interface: Reference and Usage, Second Edition  

- SAS(R) 9.4 Metadata Model: Reference

---->-- ja karman --<-----

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 1023 views
  • 0 likes
  • 4 in conversation