<?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 row level security user specific automated in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/row-level-security-user-specific-automated/m-p/510763#M11425</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have users (i.e. Managers &amp;amp; Employees) in the data. Need to apply row level security like a Manager should see the data for employees who falls under him/her and an Employee can see only his/her data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can be done using&amp;nbsp;process described in below link:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings15/SAS1779-2015.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings15/SAS1779-2015.pdf&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But here, i need to make this part automated. Suppose, an Employee Moves from one manager to another manager. And there are 1000s of employees so following the above link won't be a good way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have another table apart from main data table which has Employee Manager relations and gets updated daily basis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 14:49:21 GMT</pubDate>
    <dc:creator>Rahul_SAS</dc:creator>
    <dc:date>2018-11-06T14:49:21Z</dc:date>
    <item>
      <title>row level security user specific automated</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/row-level-security-user-specific-automated/m-p/510763#M11425</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have users (i.e. Managers &amp;amp; Employees) in the data. Need to apply row level security like a Manager should see the data for employees who falls under him/her and an Employee can see only his/her data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can be done using&amp;nbsp;process described in below link:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings15/SAS1779-2015.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings15/SAS1779-2015.pdf&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But here, i need to make this part automated. Suppose, an Employee Moves from one manager to another manager. And there are 1000s of employees so following the above link won't be a good way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have another table apart from main data table which has Employee Manager relations and gets updated daily basis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 14:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/row-level-security-user-specific-automated/m-p/510763#M11425</guid>
      <dc:creator>Rahul_SAS</dc:creator>
      <dc:date>2018-11-06T14:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: row level security user specific automated</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/row-level-security-user-specific-automated/m-p/510986#M11427</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;There will be 2 types of flow, one for defining the actual row-level-where-statement and one for the group-user-assignment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first one can use the "SUB::SAS....." user-driven-identities to subset data depending on user and the groups he/she belongs to.&lt;/P&gt;
&lt;P&gt;The second one puts the users in the groups and can be achieved by using canoncical tables and SAS macros:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=p1o31lg0trorn8n1rketxxe1jbr1.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=sv" target="_blank"&gt;https://documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=p1o31lg0trorn8n1rketxxe1jbr1.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=sv&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created groups which names are the same as the divisions in my company and then the where-statements use this information to subset the data, like: "division in (SUB::SAS.Identitygroups)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this can guide you in the right direction &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 09:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/row-level-security-user-specific-automated/m-p/510986#M11427</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-11-07T09:47:10Z</dc:date>
    </item>
  </channel>
</rss>

