Hi SAS Expert,
I just want to ask if anyone of you have already try to get the userid in SAS PORTAL?
I have a report that will filtered only those information related to the user that is logged on to the Portal.
Example: In Portal, the log on page will appear, username: sasdemo
then on the next page after the user successfully log on to the Portal.
The main page in the Portal will appear and there will be a couple of link display in the window.
Those information, if I click some link, the information is already filtered depends on the userid log by the user.
I already read some notes that I can use _METAUSER option, how can I used it?
Thanks for the support, SAS Expert
Hi,
I believe that if you have reports which are outputs of a Stored Process then Yes , you can use the _metauser macro in your stp program to customize the report to a user..
However if you have a web report then you need to read about applying Row Level Restrictions to Infomap.
But maybe if you give a bit more info on what kind of reports are looking at... Then some of the experts will be able to guide you better.
One other question... Are all your users going to use the sasdemo username or will they have their own Login identities?
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Save $200 when you sign up by March 14!
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.
Ready to level-up your skills? Choose your own adventure.