BookmarkSubscribeRSS Feed
RSB
Calcite | Level 5 RSB
Calcite | Level 5

Is there any Function that lists the IdentityGroups that the metadata user is a member. Something similar to

%let _metauser = %scan(%sysfunc(getoption(METAUSER)),1,'@');

SAS.IdentityGroups is available in Information maps, I want to know if a similar function is available in Stored process for applying Row level security?

5 REPLIES 5
RSB
Calcite | Level 5 RSB
Calcite | Level 5

After Looking around, I could tell that there is no option available to access the SAS.IdentityGroups from the SAS Code. However as a work around for applying the Row level Security based on the groups we can apply the row-level security based on Groups at the information map level and access the information map from the SAS Stored Process.

RSB

twocanbazza
Quartz | Level 8

Couldn't you use the MDSec macros to determine the SAS groups the user is a member of?

Located in the Foundation Macros location.

Barry

milts
Pyrite | Level 9

Hi,

I think it's possible if you know to how to use the SAS Open Metadata Interface.

rkgrc000
Obsidian | Level 7

Hello, I came across this thread trying to do something similar and, while I don't have a solution for my needs yet, I wanted to share this paper (http://support.sas.com/resources/papers/proceedings13/293-2013.pdf), which seems promising.

jakarman
Barite | Level 11

Check: SAS(R) 9.3 Guide to BI Row-Level Permissions (Level Permissions) It is the basics why and how to use.

SAS(R) 9.3 Guide to BI Row-Level Permissions (Secure Environment for BI Row-Level Permissions ) is about all te requirements.

This is only a functional approach when you think of your users being marionets and not for the more advanced miners and not for the real business analysts.

The mdsec macro usually is for platform admins the analyse and synchronise to AD/LDAP.

When you SP processes are isolatted for the marionets you can force the use of the information maps.

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

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

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
  • 5 replies
  • 2545 views
  • 3 likes
  • 5 in conversation