<?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 How add identity-driven filter in SAS stored proces in Developers</title>
    <link>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336139#M5251</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wnat to create report which will following functionality :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if user A has logged in the all current filter should show A in value. &amp;nbsp;Currenlt i am taking filter value for one table and it is showing all distance vales along with A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in Stored process?&amp;nbsp;How can i acheive this ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2017 10:33:45 GMT</pubDate>
    <dc:creator>MG18</dc:creator>
    <dc:date>2017-02-27T10:33:45Z</dc:date>
    <item>
      <title>How add identity-driven filter in SAS stored proces</title>
      <link>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336139#M5251</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wnat to create report which will following functionality :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if user A has logged in the all current filter should show A in value. &amp;nbsp;Currenlt i am taking filter value for one table and it is showing all distance vales along with A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in Stored process?&amp;nbsp;How can i acheive this ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 10:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336139#M5251</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2017-02-27T10:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: How add identity-driven filter in SAS stored proces</title>
      <link>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336172#M5252</link>
      <description>&lt;P&gt;Look at the reserved macro variables &amp;amp;_metauser, &amp;amp;_rmtuser and &amp;amp;_username to identify the user that requests the stored process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And please do some proofreading of your posts before hitting the submit button. Your post is very hard to read, especially for people who are not native English speakers themselves.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 12:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336172#M5252</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-27T12:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: How add identity-driven filter in SAS stored proces</title>
      <link>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336879#M5253</link>
      <description>&lt;P&gt;really Sorry for my english.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one more doubt how create filter from _metauser varible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to achive if user A logged in filter prompts it should get only Values for user A only not for other users.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 09:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336879#M5253</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2017-03-01T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: How add identity-driven filter in SAS stored proces</title>
      <link>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336891#M5254</link>
      <description>&lt;P&gt;Step one: verify that _metauser or another of the named macro variables contains the name you want when a STP executes (write a simple STP that just displays the macro variables)&lt;/P&gt;
&lt;P&gt;Step two: verify that the username so derived matches the username in the datasets you use for building the filter&lt;/P&gt;
&lt;P&gt;Step three: from what I know, one can't define a where condition for dynamic data in prompts. So you might have to do two STPs in succession:&lt;/P&gt;
&lt;P&gt;- STP1 generates a HTML form with the subset of values that you want&lt;/P&gt;
&lt;P&gt;- the form then calls (on submit) STP2 (which is your current STP) with the values from the HTML form in the URL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 09:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-add-identity-driven-filter-in-SAS-stored-proces/m-p/336891#M5254</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-01T09:54:32Z</dc:date>
    </item>
  </channel>
</rss>

