Your SAS programs, embedded in web apps and elsewhere

Accessing User Identity metadata from within stored process

Reply
N/A
Posts: 0

Accessing User Identity metadata from within stored process

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
Contributor
Posts: 53

Re: Accessing User Identity metadata from within stored process

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
New Contributor
Posts: 2

Re: Accessing User Identity metadata from within stored process

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.
Community Manager
Posts: 2,764

Re: Accessing User Identity metadata from within stored process

New User
Posts: 1

Re: Accessing User Identity metadata from within stored process

Hi Folks,

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

Rajesh U

Ask a Question
Discussion stats
  • 4 replies
  • 478 views
  • 0 likes
  • 5 in conversation