<?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 Develop EG custom task: how to get current user id in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Develop-EG-custom-task-how-to-get-current-user-id/m-p/46255#M5239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Is it so difficult? I just wanna get the metadata user id singed on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 06:24:13 GMT</pubDate>
    <dc:creator>qkaiwei</dc:creator>
    <dc:date>2012-02-08T06:24:13Z</dc:date>
    <item>
      <title>Develop EG custom task: how to get current user id</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Develop-EG-custom-task-how-to-get-current-user-id/m-p/46254#M5238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can get current server by these codes, but how to get current user id used to connect the AssignedServer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;server = consumer.AssignedServer;&lt;/P&gt;&lt;P&gt;ws = consumer.Workspace(server) as SAS.Workspace;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please answer it as soon as possible, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2012 16:35:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Develop-EG-custom-task-how-to-get-current-user-id/m-p/46254#M5238</guid>
      <dc:creator>qkaiwei</dc:creator>
      <dc:date>2012-02-05T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Develop EG custom task: how to get current user id</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Develop-EG-custom-task-how-to-get-current-user-id/m-p/46255#M5239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Is it so difficult? I just wanna get the metadata user id singed on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 06:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Develop-EG-custom-task-how-to-get-current-user-id/m-p/46255#M5239</guid>
      <dc:creator>qkaiwei</dc:creator>
      <dc:date>2012-02-08T06:24:13Z</dc:date>
    </item>
    <item>
      <title>Develop EG custom task: how to get current user id</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Develop-EG-custom-task-how-to-get-current-user-id/m-p/46256#M5240</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;If using EG 4.3, the easiest way is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS.Tasks.Toolkit.Helpers.SasMetadataProfile.GetActiveProfile().UserID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you might want to use SAS code to determine, as described here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2010/03/15/multiple-identities-for-all-of-the-people-you-are/"&gt;http://blogs.sas.com/content/sasdummy/2010/03/15/multiple-identities-for-all-of-the-people-you-are/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 13:20:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Develop-EG-custom-task-how-to-get-current-user-id/m-p/46256#M5240</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2012-02-09T13:20:47Z</dc:date>
    </item>
  </channel>
</rss>

