<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic dynamic filter in row level security - SAS Viya - in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/dynamic-filter-in-row-level-security-SAS-Viya/m-p/705835#M14510</link>
    <description>&lt;P&gt;Dear all,&lt;BR /&gt;Im working in a project, and im strugling with a task where i need to dynamically set data filter of a report.&lt;/P&gt;&lt;P&gt;Here is an example of my reporting table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Professor&lt;/TD&gt;&lt;TD&gt;university&lt;/TD&gt;&lt;TD&gt;City&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;aa&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;London&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;bb&lt;/TD&gt;&lt;TD&gt;yyy&lt;/TD&gt;&lt;TD&gt;Paris&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cc&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;London&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this data filter will be based on user's connection.&lt;BR /&gt;for example : user works in university xxx and login in to my report , he should have access only to data lines related to his university,&lt;/P&gt;&lt;P&gt;Im thinking using Row level security but I need to figure out how, could you plz help me?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Betty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 20:20:29 GMT</pubDate>
    <dc:creator>Betty_sam</dc:creator>
    <dc:date>2020-12-14T20:20:29Z</dc:date>
    <item>
      <title>dynamic filter in row level security - SAS Viya -</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/dynamic-filter-in-row-level-security-SAS-Viya/m-p/705835#M14510</link>
      <description>&lt;P&gt;Dear all,&lt;BR /&gt;Im working in a project, and im strugling with a task where i need to dynamically set data filter of a report.&lt;/P&gt;&lt;P&gt;Here is an example of my reporting table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Professor&lt;/TD&gt;&lt;TD&gt;university&lt;/TD&gt;&lt;TD&gt;City&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;aa&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;London&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;bb&lt;/TD&gt;&lt;TD&gt;yyy&lt;/TD&gt;&lt;TD&gt;Paris&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cc&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;London&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this data filter will be based on user's connection.&lt;BR /&gt;for example : user works in university xxx and login in to my report , he should have access only to data lines related to his university,&lt;/P&gt;&lt;P&gt;Im thinking using Row level security but I need to figure out how, could you plz help me?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Betty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 20:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/dynamic-filter-in-row-level-security-SAS-Viya/m-p/705835#M14510</guid>
      <dc:creator>Betty_sam</dc:creator>
      <dc:date>2020-12-14T20:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic filter in row level security - SAS Viya -</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/dynamic-filter-in-row-level-security-SAS-Viya/m-p/709498#M14553</link>
      <description>&lt;P&gt;Hi Betty,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an administrator, you can set row-level security based on Identity Groups. If you can group all users into custom groups corresponding to their university, you may be able to make this work. For example, if a user is at 'xxx' university, then they need to be added to a custom group named 'xxx'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Under the data tab in Environment Manager, you then can right-click on the data table you wish to secure and select 'Edit Authorization.'&lt;/P&gt;
&lt;P&gt;Then, add all of the university role groups 'xxx','yyy','zzz'. For each university, navigate to the 'Select' column and click the icon. Change the direct setting value to 'Row-level grant' where you can then put in your dynamic expression. For 'xxx' group you would put in the following expression to check whether the value of the university variable in your table corresponds to that identity group.&lt;/P&gt;
&lt;PRE class="xisDoc-codeFragment"&gt;university in ('SUB::SAS.IdentityGroups')&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also recommend viewing this communities post:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Examples-of-row-level-security-in-SAS-Viya/ta-p/578700" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Examples-of-row-level-security-in-SAS-Viya/ta-p/578700&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Jaime&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 20:46:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/dynamic-filter-in-row-level-security-SAS-Viya/m-p/709498#M14553</guid>
      <dc:creator>jaseit</dc:creator>
      <dc:date>2021-01-05T20:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic filter in row level security - SAS Viya -</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/dynamic-filter-in-row-level-security-SAS-Viya/m-p/725399#M14713</link>
      <description>&lt;P&gt;Hi jeseit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 10:59:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/dynamic-filter-in-row-level-security-SAS-Viya/m-p/725399#M14713</guid>
      <dc:creator>Betty_sam</dc:creator>
      <dc:date>2021-03-11T10:59:43Z</dc:date>
    </item>
  </channel>
</rss>

