<?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 Filter using Logged In User in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261022#M3771</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got a requirement wherein the data for a "BarChart" should be filtered based on the "Logged In User". How can&amp;nbsp; I implement this in SAS Report Designer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Balraj&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2016 08:58:22 GMT</pubDate>
    <dc:creator>balraj</dc:creator>
    <dc:date>2016-04-04T08:58:22Z</dc:date>
    <item>
      <title>Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261022#M3771</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got a requirement wherein the data for a "BarChart" should be filtered based on the "Logged In User". How can&amp;nbsp; I implement this in SAS Report Designer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Balraj&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261022#M3771</guid>
      <dc:creator>balraj</dc:creator>
      <dc:date>2016-04-04T08:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261023#M3772</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if what you are looking for is the “Row level security” in SAS Visual Analytics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings15/SAS1779-2015.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings15/SAS1779-2015.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/vaug/65747/HTML/default/viewer.htm#n1reswjzgl7gjyn1iio6mcp88c9y.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/vaug/65747/HTML/default/viewer.htm#n1reswjzgl7gjyn1iio6mcp88c9y.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Best regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261023#M3772</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2016-04-04T09:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261025#M3774</link>
      <description>&lt;P&gt;Hi Balraj,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that to fulfill your requirement you may need to do row level security. Have a look at this &lt;A href="https://communities.sas.com/t5/forums/searchpage/tab/message?filter=labels%2Clocation&amp;amp;location=forum-board%3Asas_va&amp;amp;q=row+level+security" target="_self"&gt;search criteria on row level security&lt;/A&gt; to see if these threads help answer your question. If not, please elaborate further on what it is that you are trying to achieve with the filter. What is being filtered and is it for every user etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261025#M3774</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2016-04-04T09:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261030#M3775</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750"&gt;@MichelleHomes﻿&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got an output table from Databuilder with data for all the users. When the user logs in he should be able to see the data related to his own region/country. I've implemented row level security as suggested by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS﻿&lt;/a&gt;&amp;nbsp;its working but I need to use the Logged in user to filter the data either to the Report Object such as bar,table,crosstab or to the Output table.&lt;/P&gt;
&lt;P&gt;I'm following this link for passing the username but unable to get the expected result.&lt;/P&gt;
&lt;P&gt;i.e.&amp;nbsp;&lt;SPAN&gt;Identity-Driven Properties&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0m3ptctbmjpzkn1woe49pep6tep.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0m3ptctbmjpzkn1woe49pep6tep.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can guide me on how i can use Identity-Driven Properties either in Report Designer/DataBuilder that will be great. &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;Kind Regards,&lt;/P&gt;
&lt;P&gt;Balraj&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/261030#M3775</guid>
      <dc:creator>balraj</dc:creator>
      <dc:date>2016-04-04T09:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/263413#M3897</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS﻿&lt;/a&gt;, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750"&gt;@MichelleHomes﻿&lt;/a&gt; and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/49922"&gt;@balraj﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Even I am trying to use logged in user name to filter out data the way &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/49922"&gt;@balraj﻿&lt;/a&gt; was trying. If it's required to use batch tools to apply Identity driven filtering, can you please put some light on how to use it in batch tools? Can we do it without using batch tools? I mean, in data builder or at report designer level ? Will appreciate the reply.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 07:11:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/263413#M3897</guid>
      <dc:creator>nattargekar</dc:creator>
      <dc:date>2016-04-13T07:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/263450#M3898</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56544"&gt;@nattargekar﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking for a point and click way to do this, the blog I wrote, &lt;A href="http://www.metacoda.com/en/2014/01/conditional-grants-sas-visual-analytics/" target="_self"&gt;Conditional Grants in SAS Visual Analytics&lt;/A&gt; may help. You need to use SAS Visual Analytics Administrator for this technique. There isn't a way to do set up row-level security within SAS Visual Analytics Designer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 09:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/263450#M3898</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2016-04-13T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264102#M3915</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750"&gt;@MichelleHomes﻿&lt;/a&gt;, Thank you very much for your reply. Yes I have gone through the blog you wrote on metacoda. It was helpful.&lt;/P&gt;
&lt;P&gt;I was also wondering to use&amp;nbsp; &lt;STRONG&gt;-condition "empID='SUB::SAS.Userid'"&amp;nbsp; &lt;/STRONG&gt;to find out the logged in user and apply identity specific filtering. I don't know where to use it. I tried it in query designer and report designer expressions but I doubt It is not the correct place to use it. Can you give an example of it and how to use it (I think in command prompt with batch tools, am I right ?). I am new to SAS VA. Your valueable reply will be very helpful. Thank You.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 07:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264102#M3915</guid>
      <dc:creator>nattargekar</dc:creator>
      <dc:date>2016-04-15T07:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264127#M3916</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56544"&gt;@nattargekar﻿&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Your assumption in using the batch tools is correct. You may want to look at this thread that outlines it well. &lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196343#M1617" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196343#M1617&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 10:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264127#M3916</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2016-04-15T10:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264493#M3925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750"&gt;@MichelleHomes﻿&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS﻿&lt;/a&gt;&amp;nbsp;Thanks alot for you guidance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've Successfully implemented it, summing up all the&amp;nbsp;steps:&lt;/P&gt;
&lt;P&gt;1. Goto&amp;nbsp;&lt;EM&gt;"C:\Program Files\SASHome\SASPlatformObjectFramework\9.4\tools"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;2. Open the command prompt&amp;nbsp;and navigate to the above path&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;3. Enter the below statement, here object-path refers to the path to LASR TABLE. If it is a Table Object append the path with (Table) else not required.&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;EM&gt;&lt;CODE class=" language-sas"&gt;sas-set-metadata-access -host &amp;lt;hostname&amp;gt; -port &amp;lt; portno&amp;gt; -user &amp;lt;username&amp;gt;-password &amp;lt;password&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;"&amp;lt; object-path&amp;gt;" -grant "&amp;lt;group&amp;gt;":Read,ReadMetadata -condition "(&amp;lt;colname&amp;gt;) IN ('SUB::SAS.IdentityName')"&lt;/CODE&gt;&lt;/EM&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;EM&gt;4. Refer below URL's for reference.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n09eorx5a5283xn11w12pncp0m0s.htm" target="_blank"&gt;Batch Tools for Metadata Authorization&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n1tudilce9s6rdn1wtlrd9fllniq.htm" target="_self"&gt;Batch tool sas-set-metadata-access&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0m3ptctbmjpzkn1woe49pep6tep.htm" target="_self"&gt;Identity-Driven Properties&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 07:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264493#M3925</guid>
      <dc:creator>balraj</dc:creator>
      <dc:date>2016-04-18T07:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264572#M3927</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/49922"&gt;@balraj﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear you have it working and thanks for sharing the steps for your implementation that may help others in future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 14:29:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/264572#M3927</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2016-04-18T14:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filter using Logged In User</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/336145#M6461</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in Stored process, I want to add same functionality in Stored Process.&lt;/P&gt;&lt;P&gt;If user sademo logged in the filter &amp;nbsp;should be come for sasdemo only. Is this possible ?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 10:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-using-Logged-In-User/m-p/336145#M6461</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2017-02-27T10:27:48Z</dc:date>
    </item>
  </channel>
</rss>

