<?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: Getting the permissions details a metada folder from Rest API in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Getting-the-permissions-details-a-metada-folder-from-Rest-API/m-p/606163#M475</link>
    <description>&lt;P&gt;Hi Joe !,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for quick answer. It´s exactly What I was looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´ll try it and post the results after I´ll get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 14:59:12 GMT</pubDate>
    <dc:creator>BigRider</dc:creator>
    <dc:date>2019-11-21T14:59:12Z</dc:date>
    <item>
      <title>Getting the permissions details a metada folder from Rest API</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Getting-the-permissions-details-a-metada-folder-from-Rest-API/m-p/606137#M473</link>
      <description>&lt;P&gt;Hi Guys !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS 9.4 I had some scripts which I use to extract some details from metadata folders like permissions, last modified date, who created, etc...using them in a internal audit reporting. I´m looking that now in SAS Vyia so many information of environment also can get via Rest API, but I couldn´t identified any example of how can I get the permissioning details of a folder in SAS Vyia Content in the API github or documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´d like to extract the authorization details of a folder of this screen via a script ou API call. could anyone help me ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExtractMetadata.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34126i118C7D357F638AD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="ExtractMetadata.png" alt="ExtractMetadata.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Getting-the-permissions-details-a-metada-folder-from-Rest-API/m-p/606137#M473</guid>
      <dc:creator>BigRider</dc:creator>
      <dc:date>2019-11-21T14:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the permissions details a metada folder from Rest API</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Getting-the-permissions-details-a-metada-folder-from-Rest-API/m-p/606155#M474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/300631"&gt;@BigRider&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The good news is, you have several options.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The&amp;nbsp; &lt;EM&gt;sas-admin authorization explains&lt;/EM&gt; command. sas-admin commands run from the SAS Viya CLI. More information is found on the &lt;A title="sas admin authorization documentation " href="https://go.documentation.sas.com/?cdcId=calcdc&amp;amp;cdcVersion=3.4&amp;amp;docsetId=calcli&amp;amp;docsetTarget=p1q4hztvhza49vn1drmjpf1lijjt.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;documentation page&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;You can use the &lt;A title="pyviyatools GitHub repository" href="https://github.com/sassoftware/pyviyatools" target="_blank" rel="noopener"&gt;pyviyatools library&lt;/A&gt; which is a&amp;nbsp;Python command-line tool that call the SAS Viya REST APIs. You'd want to look into the &lt;A title="explainaccess.py tool on pyviyatools" href="https://github.com/sassoftware/pyviyatools/blob/master/explainaccess.py" target="_blank" rel="noopener"&gt;explainaccess.py&lt;/A&gt; tool.&lt;/LI&gt;
&lt;LI&gt;Finally, you could use the Core Services-&amp;gt; Authorization REST API directly. The API is defined on &lt;A title="Authorization SAS Viya REST API" href="https://developer.sas.com/apis/rest/CoreServices/#authorization" target="_blank" rel="noopener"&gt;developer.sas.com&lt;/A&gt; and here is an example of the API from the &lt;A title="devsascom-rest-api-samples GitHub repository" href="https://github.com/sassoftware/devsascom-rest-api-samples/blob/master/CoreServices/authorization.md" target="_blank" rel="noopener"&gt;devsascom-rest-api-samples repository&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I hope one of these options will satisfy your requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:45:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Getting-the-permissions-details-a-metada-folder-from-Rest-API/m-p/606155#M474</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2019-11-21T14:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the permissions details a metada folder from Rest API</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Getting-the-permissions-details-a-metada-folder-from-Rest-API/m-p/606163#M475</link>
      <description>&lt;P&gt;Hi Joe !,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for quick answer. It´s exactly What I was looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´ll try it and post the results after I´ll get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Getting-the-permissions-details-a-metada-folder-from-Rest-API/m-p/606163#M475</guid>
      <dc:creator>BigRider</dc:creator>
      <dc:date>2019-11-21T14:59:12Z</dc:date>
    </item>
  </channel>
</rss>

