<?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: User Listing from Metadata in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118486#M1434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, item 1 &amp;amp; 2 are available via data step functions, NOT in the canonical tables (created by %mduextr).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2012 08:50:21 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2012-07-26T08:50:21Z</dc:date>
    <item>
      <title>User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118482#M1430</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;I have a queries pertaining getiing a full listing of user. Hereare the code i use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=======================================&lt;/P&gt;&lt;P&gt;options&lt;/P&gt;&lt;P&gt;&amp;nbsp; metaserver="mysVA5101"&lt;/P&gt;&lt;P&gt;&amp;nbsp; metaport=8561&lt;/P&gt;&lt;P&gt;&amp;nbsp; metauser="admin"&lt;/P&gt;&lt;P&gt;&amp;nbsp; metapass="Admin12345"&lt;/P&gt;&lt;P&gt;&amp;nbsp; metarepository=Foundation&lt;/P&gt;&lt;P&gt;&amp;nbsp; metaprotocol=BRIDGE;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Specify the directory for the extracted metadata.*/&lt;/P&gt;&lt;P&gt;libname meta "C:\temp";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Extract identity information from the metadata.*/&lt;/P&gt;&lt;P&gt;%mduextr(libref=meta);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Match the person identity to UserIDs */&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; select a.Name,a.DisplayName,b.UserId&lt;/P&gt;&lt;P&gt;&amp;nbsp; from meta.Person as a,meta.Logins as b&lt;/P&gt;&lt;P&gt;&amp;nbsp; where a.keyid=b.keyid;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=============================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result may refer to following attach image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My queries is, beside extracting the user is, &lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;can we also extract the following information:&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman', serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;1) Last login date&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;2) user id creation date&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;3) user id status (active,barred,etc)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help and advise is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10688i75B4C26F0A336546/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="UserLists.jpg" title="UserLists.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 07:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118482#M1430</guid>
      <dc:creator>mikesatriaevo</dc:creator>
      <dc:date>2012-07-26T07:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118483#M1431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those attributes are not exported to the canonical tables. But at least 1) and 2) should be available within metadata, and accessible by data step functions. Not sure about 3), I wasn't aware of that you can set status for a user, or do you mean status of a user id from the external authentication provider?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 08:35:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118483#M1431</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-07-26T08:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118484#M1432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to browse the table which generated using &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%mduextr(libref=meta), the tables shows inside there does not show item 1 and 2. Is there any specific command or code i can use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 08:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118484#M1432</guid>
      <dc:creator>mikesatriaevo</dc:creator>
      <dc:date>2012-07-26T08:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118485#M1433</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;Check this link for login and other details of metadata.Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/omamodref/61849/HTML/default/viewer.htm#login.htm" title="http://support.sas.com/documentation/cdl/en/omamodref/61849/HTML/default/viewer.htm#login.htm"&gt;http://support.sas.com/documentation/cdl/en/omamodref/61849/HTML/default/viewer.htm#login.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 08:46:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118485#M1433</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-07-26T08:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118486#M1434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, item 1 &amp;amp; 2 are available via data step functions, NOT in the canonical tables (created by %mduextr).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 08:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118486#M1434</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-07-26T08:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118487#M1435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may i know which tables in the metatdata i should refer to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 09:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118487#M1435</guid>
      <dc:creator>mikesatriaevo</dc:creator>
      <dc:date>2012-07-26T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118488#M1436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no logical (that is, what we as SAS users can see) tables in the metadata server. We can query the metadata using different API:s, and one is using data step functions.&lt;/P&gt;&lt;P&gt;The data is stored logically following an object model approach. For a reference abut that, follow Shivas link.&lt;/P&gt;&lt;P&gt;For syntax on data step metadata functions, see online doc. there are also quite a lot of papers and samples available on the SAS support site as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 10:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/118488#M1436</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-07-30T10:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: User Listing from Metadata</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/295436#M8345</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Please can you refer any document to details &amp;nbsp;1 and 2&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 09:47:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/User-Listing-from-Metadata/m-p/295436#M8345</guid>
      <dc:creator>saikrishna</dc:creator>
      <dc:date>2016-08-31T09:47:01Z</dc:date>
    </item>
  </channel>
</rss>

