<?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 User that executed STP when executed as only STPS in Developers</title>
    <link>https://communities.sas.com/t5/Developers/User-that-executed-STP-when-executed-as-only-STPS/m-p/439180#M5603</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to get the client ID of a user inside of a STP if it is executed on STPS only?&lt;/P&gt;
&lt;P&gt;If I run it as only Workspace Server I can easily get the client-ID with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let user = %sysget(METAUSER);
%put &amp;amp;user;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but that doesn't work if the STP is executed on the STPS. Is there any other way to achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings and kind regards&lt;/P&gt;
&lt;P&gt;Criptic&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2018 06:38:42 GMT</pubDate>
    <dc:creator>Criptic</dc:creator>
    <dc:date>2018-02-22T06:38:42Z</dc:date>
    <item>
      <title>User that executed STP when executed as only STPS</title>
      <link>https://communities.sas.com/t5/Developers/User-that-executed-STP-when-executed-as-only-STPS/m-p/439180#M5603</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to get the client ID of a user inside of a STP if it is executed on STPS only?&lt;/P&gt;
&lt;P&gt;If I run it as only Workspace Server I can easily get the client-ID with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let user = %sysget(METAUSER);
%put &amp;amp;user;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but that doesn't work if the STP is executed on the STPS. Is there any other way to achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings and kind regards&lt;/P&gt;
&lt;P&gt;Criptic&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 06:38:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/User-that-executed-STP-when-executed-as-only-STPS/m-p/439180#M5603</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-02-22T06:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: User that executed STP when executed as only STPS</title>
      <link>https://communities.sas.com/t5/Developers/User-that-executed-STP-when-executed-as-only-STPS/m-p/439183#M5604</link>
      <description>Okay after some more digging I found the answer the macro variable &amp;amp;_CLIENTUSERID contains what I was looking for.</description>
      <pubDate>Thu, 22 Feb 2018 07:08:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/User-that-executed-STP-when-executed-as-only-STPS/m-p/439183#M5604</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-02-22T07:08:44Z</dc:date>
    </item>
  </channel>
</rss>

