<?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: How to query metadata in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8511#M340</link>
    <description>matej...&lt;BR /&gt;
&lt;BR /&gt;
besides there being one mistake in your code ("Create xml query_logins.xml:" - should be changed to query_persons.xml), it worked just fine.  It did exactly what I had asked, it brought me back an XML file with the usernames of all the people that have been manually added in the SAS management console.&lt;BR /&gt;
&lt;BR /&gt;
With this info, I think I'll be able to write the code to do my own version of identity management.  Thanks so much!</description>
    <pubDate>Thu, 03 Apr 2008 17:25:44 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-04-03T17:25:44Z</dc:date>
    <item>
      <title>How to query metadata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8508#M337</link>
      <description>Is there a way to query the metadata from the metadata server to enumerate users that have been set up through SAS Management Console?</description>
      <pubDate>Tue, 01 Apr 2008 18:46:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8508#M337</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-01T18:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to query metadata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8509#M338</link>
      <description>Hi:&lt;BR /&gt;
Your question falls under the category of Security Administration or Platform Administration and is outside the scope of this discussion forum for SAS Macro, Data Step and SAS Language elements. The Security Administration piece of the Platform Administration documentation is a 239 page document. &lt;A href="http://support.sas.com/documentation/configuration/bisecag.pdf" target="_blank"&gt;http://support.sas.com/documentation/configuration/bisecag.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
There is not a set of steps or code that can be posted to the forum. The whole Platform Administration documentation links are here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/configuration/" target="_blank"&gt;http://support.sas.com/documentation/configuration/&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
For more help with this task, I recommend that you contact SAS Technical Support. &lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 01 Apr 2008 19:26:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8509#M338</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-04-01T19:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to query metadata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8510#M339</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Step01: &lt;BR /&gt;
&lt;BR /&gt;
Create xml query_logins.xml:&lt;BR /&gt;
&lt;BR /&gt;
&lt;GETMETADATAOBJECTS&gt;&lt;BR /&gt;
	&lt;REPOSID&gt;$METAREPOSITORY&lt;/REPOSID&gt;&lt;BR /&gt;
	&lt;TYPE&gt;Login&lt;/TYPE&gt;&lt;BR /&gt;
	&lt;OBJECTS&gt;&lt;/OBJECTS&gt;&lt;BR /&gt;
	&lt;NS&gt;SAS&lt;/NS&gt;&lt;BR /&gt;
	&lt;!-- Specify OMI_GET_METADATA (256) + OMI_ALL_SIMPLE (8)&lt;br&gt;
	+ OMI_SUCCINCT (2048) flags --&gt;&lt;BR /&gt;
	&lt;FLAGS&gt;260&lt;/FLAGS&gt;&lt;BR /&gt;
	&lt;OPTIONS&gt;&lt;BR /&gt;
		&lt;TEMPLATES&gt;&lt;BR /&gt;
			&lt;LOGIN id="" userid="" name=""&gt;&lt;BR /&gt;
				&lt;ASSOCIATEDIDENTITY&gt;&lt;BR /&gt;
					&lt;PERSON id="" name=""&gt;&lt;/PERSON&gt;&lt;BR /&gt;
				&lt;/ASSOCIATEDIDENTITY&gt;&lt;BR /&gt;
			&lt;/LOGIN&gt;&lt;BR /&gt;
		&lt;/TEMPLATES&gt;&lt;BR /&gt;
	&lt;/OPTIONS&gt;&lt;BR /&gt;
&lt;/GETMETADATAOBJECTS&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Step02: Start SAS V9&lt;BR /&gt;
Step03: Set up OPTION for PROC METADATA&lt;BR /&gt;
&lt;BR /&gt;
FILENAME input "C:\TEMP\XML\query_persons.xml";&lt;BR /&gt;
FILENAME output "C:\TEMP\XML\query_persons_out.xml";&lt;BR /&gt;
&lt;BR /&gt;
PROC METADATA  REPOS = "Foundation"&lt;BR /&gt;
               SERVER = "127.0.0.1"&lt;BR /&gt;
               PORT = 8561&lt;BR /&gt;
               USERID = "SASADM"&lt;BR /&gt;
               PASSWORD = "PWD"&lt;BR /&gt;
               IN = input&lt;BR /&gt;
               OUT = output HEADER = FULL;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
STEP04: Run code&lt;BR /&gt;
STEP05: Check query_persons_out.xml&lt;BR /&gt;
&lt;BR /&gt;
M.</description>
      <pubDate>Wed, 02 Apr 2008 10:32:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8510#M339</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-02T10:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to query metadata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8511#M340</link>
      <description>matej...&lt;BR /&gt;
&lt;BR /&gt;
besides there being one mistake in your code ("Create xml query_logins.xml:" - should be changed to query_persons.xml), it worked just fine.  It did exactly what I had asked, it brought me back an XML file with the usernames of all the people that have been manually added in the SAS management console.&lt;BR /&gt;
&lt;BR /&gt;
With this info, I think I'll be able to write the code to do my own version of identity management.  Thanks so much!</description>
      <pubDate>Thu, 03 Apr 2008 17:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-query-metadata/m-p/8511#M340</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-03T17:25:44Z</dc:date>
    </item>
  </channel>
</rss>

