<?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 Re: Determine the current user in Visual Analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/272942#M4364</link>
    <description>&lt;P&gt;Hi Michelle ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I see what values do the variables&amp;nbsp;&lt;SPAN&gt;SAS.Userid &lt;/SPAN&gt;&lt;SPAN&gt;SAS.Personname, SAS.IdentityName hold , so that I can compare it with specific columns in my dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am applying row level security on dataset based on the logged in user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pratik&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2016 05:05:25 GMT</pubDate>
    <dc:creator>pratikjageera</dc:creator>
    <dc:date>2016-05-25T05:05:25Z</dc:date>
    <item>
      <title>Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145209#M281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m currently checking the&amp;nbsp; Row-level Security for LASR Tables (&lt;A href="http://support.sas.com/documentation/cdl/en/vaug/65747/HTML/default/viewer.htm#n1reswjzgl7gjyn1iio6mcp88c9y.htm" title="http://support.sas.com/documentation/cdl/en/vaug/65747/HTML/default/viewer.htm#n1reswjzgl7gjyn1iio6mcp88c9y.htm"&gt;SAS(R) Visual Analytics 6.1: User's Guide&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it posible determine the current user in SAS VA to use it as part of the Row-Level Permission Conditions. Something like &amp;amp;SYSUSERID in SAS Macro. I would like to build a condition like&amp;nbsp; &amp;lt;responsible= "&amp;amp;SYSUSERID"&amp;gt;&amp;nbsp; on the column "responsible" in the sas va dataset .&lt;/P&gt;&lt;P&gt;This would be an easy way to build a filter depending on the current user without setting the permissions on the table for each user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Kind Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145209#M281</guid>
      <dc:creator>Koenigpe</dc:creator>
      <dc:date>2014-10-28T09:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145210#M282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure you can use SAS macro variables to dynamically assign the row-level permission conditions. Perhaps instead of having the condition based on a user identity, using a group identity might help. I wrote a blog post about how to set this up and how you can see the underlying ACE permission condition XML at &lt;A href="https://www.metacoda.com/en/2014/01/conditional-grants-sas-visual-analytics/" title="https://www.metacoda.com/en/2014/01/conditional-grants-sas-visual-analytics/"&gt;Conditional Grants in SAS Visual Analytics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAS Visual Analytics 7.1 there is a new parameters tab to set up global parameters in filters, calculated items, and aggregated measures more for the GUI rather than being used on the underlying LASR table &lt;A href="http://support.sas.com/documentation/cdl/en/vaug/67500/HTML/default/viewer.htm#p0thau8ryw6k4en1eravs9gifato.htm" title="http://support.sas.com/documentation/cdl/en/vaug/67500/HTML/default/viewer.htm#p0thau8ryw6k4en1eravs9gifato.htm"&gt;SAS(R) Visual Analytics 7.1: User's Guide - Parameters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 10:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145210#M282</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2014-10-28T10:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145211#M283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In VA 6.1 you can write expressions like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;("rbs-"|| departmentname) IN ("SUB::SAS.IdentityGroups") OR "rbs-FullAccess" IN ("SUB::SAS.IdentityGroups")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user is member of the group "rbs-Sales" then they will have access to all rows where departmentname = 'Sales'.&lt;/P&gt;&lt;P&gt;I have a extra condition that allows users in the group 'rbs-FullAccess' to read all data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other identity driven properties like &lt;SPAN style="color: #353535; font-family: lato, arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SAS.Userid &lt;SPAN style="color: #353535; font-family: lato, arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SAS.Personname, SAS.IdentityName that you can use.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: &lt;/P&gt;&lt;P&gt;In VA 6.2 and 6.3 (and maybe even later versions) SAS have removed the option to write expression, and replaced the editor with a drag-and-drop editor, and you can not use identity driven properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a workaround.&lt;/P&gt;&lt;P&gt;You can activate the old editor on a table with a command like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./sas-set-metadata-access -host servername -port 8561 -user USERNAME -password PASSWORD "Analytical LASR Data - Sandbox/SALES(Table)" -grant "SalesUsers":Read -condition '("rbs-"|| departmentname) IN ("SUB::SAS.IdentityGroups") OR "rbs-FullAccess" IN ("SUB::SAS.IdentityGroups")'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 09:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145211#M283</guid>
      <dc:creator>Allan_dk</dc:creator>
      <dc:date>2014-10-30T09:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145212#M284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds promising! Thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 10:22:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145212#M284</guid>
      <dc:creator>Koenigpe</dc:creator>
      <dc:date>2014-10-30T10:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145213#M285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you go with this? Do you require further assistance? Please mark question as answered correctly or helpful so that others know who may come across this in future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 07:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145213#M285</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2015-01-14T07:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145214#M286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Allan.&lt;/P&gt;&lt;P&gt;Very useful information, it helped me a lot in my implementation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 09:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/145214#M286</guid>
      <dc:creator>SamirC_B_</dc:creator>
      <dc:date>2015-04-24T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/252624#M3453</link>
      <description>&lt;P&gt;Hi Allan_dk ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I see what values do the variables&amp;nbsp;&lt;SPAN&gt;SAS.Userid &lt;/SPAN&gt;&lt;SPAN&gt;SAS.Personname, SAS.IdentityName hold , so that I can compare it with specific columns in my dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am applying row level security on dataset based on the logged in user.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 02:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/252624#M3453</guid>
      <dc:creator>pratikjageera</dc:creator>
      <dc:date>2016-02-26T02:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the current user in Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/272942#M4364</link>
      <description>&lt;P&gt;Hi Michelle ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I see what values do the variables&amp;nbsp;&lt;SPAN&gt;SAS.Userid &lt;/SPAN&gt;&lt;SPAN&gt;SAS.Personname, SAS.IdentityName hold , so that I can compare it with specific columns in my dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am applying row level security on dataset based on the logged in user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pratik&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 05:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Determine-the-current-user-in-Visual-Analytics/m-p/272942#M4364</guid>
      <dc:creator>pratikjageera</dc:creator>
      <dc:date>2016-05-25T05:05:25Z</dc:date>
    </item>
  </channel>
</rss>

