<?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: SAS VA Logged user in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435661#M9420</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;One way could be to create a table with all your users, that can easily be done by reading the users from metadata %MDUEXTR;&lt;/P&gt;
&lt;P&gt;Import the table to VA and create a row level condition where (userid = 'SUB::SAS.Userid')&lt;/P&gt;
&lt;P&gt;Add the table to your report and if you are using 7.4 or 8.2 use a dynamic text to show the user, otherwise a table or listbox/list might work.&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2018 15:06:07 GMT</pubDate>
    <dc:creator>FredrikE</dc:creator>
    <dc:date>2018-02-09T15:06:07Z</dc:date>
    <item>
      <title>SAS VA Logged user</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435611#M9411</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to add in the report a text box with the date of now and logged user.&lt;/P&gt;&lt;P&gt;The problem is the looged user, what can I use for that?&lt;/P&gt;&lt;P&gt;A parameter with a variable in the "current value" = the system variable for current user&lt;/P&gt;&lt;P&gt;Or the variable straight into the text box?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the following images you can see how I what it to look in the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help me with this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Data: 9/2/2018 UUser: &amp;amp;SAS.Userid or &amp;amp;SYSUSERID&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 12:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435611#M9411</guid>
      <dc:creator>JoanSo</dc:creator>
      <dc:date>2018-02-09T12:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Logged user</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435637#M9416</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/192421"&gt;@JoanSo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you would need a Stored Process, who will be able to pick up the user id of the SAS session.&lt;/P&gt;
&lt;P&gt;Then, the SAS Stored Process&amp;nbsp;reserver variables will automatically contain the user id on several forms:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=stpug&amp;amp;docsetTarget=p184mqqbi9w6qjn1q0619x19eg02.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=stpug&amp;amp;docsetTarget=p184mqqbi9w6qjn1q0619x19eg02.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="tgroup"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p148d62ifj9xxzn1wolvee3ruev7" class="xis-paraTableFirst"&gt;METAPERSON&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p0mohx6h6q95kyn1xe9m8duig2r4" class="xis-paraTableFirst"&gt;All&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p0sed7atl84x0cn1hpk7fo7e79ng" class="xis-paraTableFirst"&gt;Specifies the person metadata name that is associated with the _METAUSER login variable. The value of this variable can be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="xis-codeDefaultStyle"&gt;UNKNOWN&lt;/CODE&gt;. This variable cannot be modified by the client.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p1tn2y9uodx4r5n1saznjcmhmw69" class="xis-paraTableFirst"&gt;_METAUSER&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p0bh3jspdt4e42n1ppyxutqe346q" class="xis-paraTableFirst"&gt;All&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p0eazfafamx6xyn1n0s8exf41avx" class="xis-paraTableFirst"&gt;Specifies the login user name that is used to connect to the metadata server. This variable cannot be modified by the client.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="tgroup"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p1dybnigepgz0vn13mjf9vrvngy4" class="xis-paraTableFirst"&gt;_username&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p043mkvq7fjm5jn1rbgliespyjlq" class="xis-paraTableFirst"&gt;Web Clients&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="n0y5ozxce6b8lon15i9v3i8v68o3" class="xis-paraTableFirst"&gt;Specifies the value for the user name that is obtained from web client authentication.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In some deployments this might be tricky if you have SSO or SAS Token Authentication. But try and one of them should give you the required result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 13:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435637#M9416</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-02-09T13:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Logged user</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435645#M9417</link>
      <description>&lt;P&gt;I looked for stored process and one of the obstacles is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"You cannot add a stored process to a report if the precision layout view is selected. If the report already contains a stored process, then the stored process is removed if you change to precision layout."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have all my dashboards with the precision layout.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there another way of doing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 14:10:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435645#M9417</guid>
      <dc:creator>JoanSo</dc:creator>
      <dc:date>2018-02-09T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Logged user</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435661#M9420</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;One way could be to create a table with all your users, that can easily be done by reading the users from metadata %MDUEXTR;&lt;/P&gt;
&lt;P&gt;Import the table to VA and create a row level condition where (userid = 'SUB::SAS.Userid')&lt;/P&gt;
&lt;P&gt;Add the table to your report and if you are using 7.4 or 8.2 use a dynamic text to show the user, otherwise a table or listbox/list might work.&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 15:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435661#M9420</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-02-09T15:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Logged user</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435789#M9427</link>
      <description>&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did the step you sugested but the viewer only shows an "Alert" in the table that has de colum "userid".&lt;/P&gt;&lt;P&gt;I'm still looking for the reason..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the idea &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 18:43:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Logged-user/m-p/435789#M9427</guid>
      <dc:creator>JoanSo</dc:creator>
      <dc:date>2018-02-09T18:43:38Z</dc:date>
    </item>
  </channel>
</rss>

