<?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: Can I use a group member's User ID in the logic for a stored process in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-I-use-a-group-member-s-User-ID-in-the-logic-for-a-stored/m-p/936783#M368162</link>
    <description>&lt;P&gt;There should be some macro variables created when you run the stored process -&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/itechcdc/9.4/stpug/p184mqqbi9w6qjn1q0619x19eg02.htm" target="_blank"&gt;&amp;nbsp; https://documentation.sas.com/doc/en/itechcdc/9.4/stpug/p184mqqbi9w6qjn1q0619x19eg02.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Something like _METAUSER might have what you need.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2024 14:54:59 GMT</pubDate>
    <dc:creator>DeMer</dc:creator>
    <dc:date>2024-07-23T14:54:59Z</dc:date>
    <item>
      <title>Can I use a group member's User ID in the logic for a stored process</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-I-use-a-group-member-s-User-ID-in-the-logic-for-a-stored/m-p/936635#M368125</link>
      <description>&lt;P&gt;I have a group in SAS Management Console 9.4 with a list of users. That group is given authorization to run a stored process that generates a report. Is there a way to use the USER ID of the group member in the stored process SAS code? My end goal is to append the USER ID to the name given to the log file when it is saved so that each user has a unique log file that is overwritten each time he/she runs the report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if Jon Holcomb submits the stored process to generate a report, can I use his USER ID (jon.e.holcomb) in the logic of the stored process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="holcoje_0-1721668299816.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98589iEF00C406D627C4F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="holcoje_0-1721668299816.png" alt="holcoje_0-1721668299816.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 17:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-I-use-a-group-member-s-User-ID-in-the-logic-for-a-stored/m-p/936635#M368125</guid>
      <dc:creator>holcoje</dc:creator>
      <dc:date>2024-07-22T17:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a group member's User ID in the logic for a stored process</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-I-use-a-group-member-s-User-ID-in-the-logic-for-a-stored/m-p/936783#M368162</link>
      <description>&lt;P&gt;There should be some macro variables created when you run the stored process -&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/itechcdc/9.4/stpug/p184mqqbi9w6qjn1q0619x19eg02.htm" target="_blank"&gt;&amp;nbsp; https://documentation.sas.com/doc/en/itechcdc/9.4/stpug/p184mqqbi9w6qjn1q0619x19eg02.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Something like _METAUSER might have what you need.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 14:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-I-use-a-group-member-s-User-ID-in-the-logic-for-a-stored/m-p/936783#M368162</guid>
      <dc:creator>DeMer</dc:creator>
      <dc:date>2024-07-23T14:54:59Z</dc:date>
    </item>
  </channel>
</rss>

