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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1118 views
  • 0 likes
  • 3 in conversation