BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi folks,

I'm currently involved in setting up a row level security model. Using the SAS identity driven properties seems fine for Information maps and cubes, however we also have a requirement to apply this to stored processes.

Could anybody suggest the correct syntax to access these properties as applied to the user executing a stored process via web apps, or direct me to suitable reference materials?

Mike
4 REPLIES 4
mdavidson
Quartz | Level 8
I think you should have the security set up in management console in your metadata, but here is a list of automatic variables available for stored procedures. Maybe metauser, or metaperson would help you.

http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/reserved.html
frisc
Calcite | Level 5
We use IMAPs in our Stored Processes to be able to use row level security. You can query the IMAP with predefined filters on usergroups or username and use the result for your other sqls in the Stored Process.
ChrisHemedinger
Community Manager
Here is another resource:

http://blogs.sas.com/sasdummy/index.php?/archives/158-Multiple-identities-for-all-of-the-people-you-...

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
RajeshU
Calcite | Level 5

Hi Folks,

I am building row level security model and column level security model, if anyone can suggests me the correct syntax.!

Rajesh U

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2061 views
  • 0 likes
  • 5 in conversation