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?
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.
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.