BookmarkSubscribeRSS Feed
jjmccoydk
Calcite | Level 5

Hey VA experts.

 

I have an issue, that i would like some help to.

 

senario.

 

this is my table i VA.

nameidvaluead_group
John Mortensen5101245,10
Heidi Jensen630145,10
Anders And741245,275,10
Donald map8201245,145,275,10
steve holding913145,10
christie brown1012275,10
john jensen1110145,10
Ronald mccoy1261245,275,10
John Tweet1351245,10

 

I have to have row level seccurity couse GDPR. One ad group is fine but serverel AD groups i my table - i can not use in sub:xxxx,

We are a large organization with + 500 ad group, so it is import to use ad group instead of userid.

 

any suggestions og link til document how can help me

John Mortensen

 

1 REPLY 1
FredrikE
Rhodochrosite | Level 12

Hi!

One way to do this could be to create a RLS-statement for each group.

Lets take group 10 as an example.

For this group you add a RLS-statment like:

ad_group contains '10'

This is a bit unsafe because '2010' and '110' will also be selected.

If you make sure that all values have a delimiter you could use ad_group contains ',10' for example.

 

You can create all groups and RLS-statments by using a script so it will become fully dynamic 🙂

Here is one way: https://documentation.sas.com/?docsetId=bisecag&docsetTarget=n1sjpmdvbsgp7bn1vpx0hsvsizcz.htm&docset...

 

//Fredrik

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!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 516 views
  • 0 likes
  • 2 in conversation