BookmarkSubscribeRSS Feed
sks
Fluorite | Level 6 sks
Fluorite | Level 6

Hi,

     I have a question about implementing row level security filters on an infomap. I have a filter that lets a user see data related to them.

For eg. I have a report created using the infomap with an employee filter (using row level security).

       When the employee logs in to the portal and accesses the report, he only sees data related to him (employee performance)

I have got this working, but now I am trying to figure out, how to take it to the next level.

The next requirement is, when a supervisor logs in to the portal and accesses a report (either the same report the employee accesses or a different report but will have to be created using the same info map) the supervisor should be able to view the performance of all the employees who report to her.

My SAS security table has the following structure

                                          

userID  empID   managerID
user001  user001  user004
user002user002user004
user003user003user004
user004user004user004
user005user005user005


In the group above, user4 is a manager. so when she logs in she needs to see her individual performance and the performance of user1,user2 and user3.

Can any one provide any suggestions on how to accomplish this. I am trying to use the same information map for both employee level reports and supervisor level reports.

Any suggestion is greatly appreciated.

Shri

2 REPLIES 2
YugalSethiya
Calcite | Level 5

Hi,

   Please use the row level security in Information Map. When u go to create filter in Information Map u will find the Row Level Security.

AkilanR
Fluorite | Level 6

Hi Shri,

You can give the security in the below way.

  • Select Insert ► Filter to open the New Filter dialog box.
  • give a name to the filter, select empid dataitem isequal to Derive Identity Values(for row level permission) (SAS.PersonName or SAS.IdentityName) and add to the combination filter.
  • Then in the same filter, select managerid is equal to  Derive Identity Values(for row level permission) (SAS.PersonName or SAS.IdentityName) and add to the combination filter.
  • use  OR operator to join both the condition.
  • then right click information map -> authorisation -> click employee group -> add condition -> add the filter to the employee group.

Hope this will resolve your issue

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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
  • 2 replies
  • 813 views
  • 0 likes
  • 3 in conversation