<?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: Programmatically retrieve folder permissions in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582710#M13876</link>
    <description>&lt;P&gt;I understood that the physical folders I referred to are also part of the metadata folder structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open the 'Folders' tab in SAS Management Console this folder structure is indeed there (starting from 'Shared Data'). By requesting the folder properties of all subfolders&amp;nbsp;I can find out which users and groups are authorized to the selected folder. This information however I would like to retrieve programmatically to eliminate the manual work to investigate this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And as Kurt states: it is on Windows indeed...&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2019 09:44:31 GMT</pubDate>
    <dc:creator>barry_van_dijk</dc:creator>
    <dc:date>2019-08-21T09:44:31Z</dc:date>
    <item>
      <title>Programmatically retrieve folder permissions</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582412#M13831</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have a folder structure starting from '...\Shared Data\Production' with multiple subfolders underneath. For the different teams in our organisation I configured&amp;nbsp;which team&amp;nbsp;can (or cannot) access these subfolders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to create an overview (report) of which teams (and their users) can access which subfolders and the reports within the subfolders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an example of how to achieve this? Your help is highly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 12:40:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582412#M13831</guid>
      <dc:creator>barry_van_dijk</dc:creator>
      <dc:date>2019-08-20T12:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically retrieve folder permissions</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582418#M13832</link>
      <description>&lt;P&gt;The backslashes tell me that this has to be done on Windows. Since the finfo() function does not return permission properties on Windows, you will need to use operating system tools to retrieve the permission status, and for this, you need to have XCMD enabled in your SAS environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some useful information is found here:&amp;nbsp;&lt;A href="https://superuser.com/questions/364083/windows-list-files-and-their-permissions-access-in-command-line" target="_blank" rel="noopener"&gt;https://superuser.com/questions/364083/windows-list-files-and-their-permissions-access-in-command-line&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 13:05:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582418#M13832</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-08-20T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically retrieve folder permissions</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582430#M13835</link>
      <description>&lt;P&gt;Are you referring to the SAS Metadata folder structure ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582430#M13835</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-08-20T14:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically retrieve folder permissions</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582710#M13876</link>
      <description>&lt;P&gt;I understood that the physical folders I referred to are also part of the metadata folder structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open the 'Folders' tab in SAS Management Console this folder structure is indeed there (starting from 'Shared Data'). By requesting the folder properties of all subfolders&amp;nbsp;I can find out which users and groups are authorized to the selected folder. This information however I would like to retrieve programmatically to eliminate the manual work to investigate this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And as Kurt states: it is on Windows indeed...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 09:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Programmatically-retrieve-folder-permissions/m-p/582710#M13876</guid>
      <dc:creator>barry_van_dijk</dc:creator>
      <dc:date>2019-08-21T09:44:31Z</dc:date>
    </item>
  </channel>
</rss>

