<?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 SAS Custom tasks for EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Custom-tasks-for-EG/m-p/23904#M3662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the goal to enumerate all user roles and groups?&amp;nbsp; There isn't an API to do that in the custom task interface.&amp;nbsp; You would have to write your own metadata queries &lt;A href="http://support.sas.com/documentation/cdl/en/omaref/63063/HTML/default/viewer.htm#p0d2drjj7p068fn16ljtzci0qvpb.htm"&gt;by using the OMI interface&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get a handle to this in a custom task via the SAS.Tasks.Toolkit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS.Tasks.Toolkit.Helpers.SasMetadataProfile.GetActiveProfile().GetSasMetadataConnection()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cast the result to SAS.IOMI.&amp;nbsp; You will need to add a reference to the SASOMIInterop.dll in the EG application directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2012 17:17:24 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2012-03-16T17:17:24Z</dc:date>
    <item>
      <title>SAS Custom tasks for EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Custom-tasks-for-EG/m-p/23903#M3661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i access metadata from a custom task in EG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And from here is there any way to access user roles and groups&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 00:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Custom-tasks-for-EG/m-p/23903#M3661</guid>
      <dc:creator>Sa646</dc:creator>
      <dc:date>2012-03-07T00:08:39Z</dc:date>
    </item>
    <item>
      <title>SAS Custom tasks for EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Custom-tasks-for-EG/m-p/23904#M3662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the goal to enumerate all user roles and groups?&amp;nbsp; There isn't an API to do that in the custom task interface.&amp;nbsp; You would have to write your own metadata queries &lt;A href="http://support.sas.com/documentation/cdl/en/omaref/63063/HTML/default/viewer.htm#p0d2drjj7p068fn16ljtzci0qvpb.htm"&gt;by using the OMI interface&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get a handle to this in a custom task via the SAS.Tasks.Toolkit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS.Tasks.Toolkit.Helpers.SasMetadataProfile.GetActiveProfile().GetSasMetadataConnection()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cast the result to SAS.IOMI.&amp;nbsp; You will need to add a reference to the SASOMIInterop.dll in the EG application directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 17:17:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Custom-tasks-for-EG/m-p/23904#M3662</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2012-03-16T17:17:24Z</dc:date>
    </item>
  </channel>
</rss>

