BookmarkSubscribeRSS Feed
SAS Employee

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

Quartz | Level 8 NN
Quartz | Level 8


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?



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2 in conversation