---
schema_version: "1"
id: c75752637306f350b07cdedb816f649e4bc98d828946c0607c3e866ba54bd588
title: ConnectApi.ExternalFilePermissionInformation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_external_file_permission_information.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_external_file_permission_information.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6feca7116e368ed078f8c7949361d6cea1e02598abef729e27a1c7dddd913822
description: External file permission information.
---
# ConnectApi.ExternalFilePermissionInformation

External file permission information.

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d978217e36">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d978217e39">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d978217e42">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d978217e45">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d978217e36" data-title="Property Name"><samp class="codeph apex_code">external​FilePermission​Types</samp></td>

              <td class="entry" headers="d978217e39" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_content_hub_permission_type.htm#apex_connectapi_output_content_hub_permission_type" title="A permission type."><samp class="codeph apex_code">ConnectApi.​ContentHub​PermissionType</samp></a>&gt;
              </td>

              <td class="entry" headers="d978217e42" data-title="Description">Available permission types for the parent folder of the external file, or <samp class="codeph nolang">null</samp> for non-external files or when <samp class="codeph nolang">includeExternalFilePermissionsInfo</samp> is <samp class="codeph nolang">false</samp>.</td>

              <td class="entry" headers="d978217e45" data-title="Available Version">39.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d978217e36" data-title="Property Name"><samp class="codeph apex_code">external​FilePermissions​Failure</samp></td>

              <td class="entry" headers="d978217e39" data-title="Type">Boolean</td>

              <td class="entry" headers="d978217e42" data-title="Description">
                <samp class="codeph nolang">true</samp> if the retrieval of external file information failed or if <samp class="codeph nolang">includeExternalFilePermissionsInfo</samp> is <samp class="codeph nolang">false</samp>; <samp class="codeph nolang">false</samp> otherwise.
              </td>

              <td class="entry" headers="d978217e45" data-title="Available Version">39.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d978217e36" data-title="Property Name"><samp class="codeph apex_code">external​FilePermissions​InfoFailureReason</samp></td>

              <td class="entry" headers="d978217e39" data-title="Type">String</td>

              <td class="entry" headers="d978217e42" data-title="Description">Explanation of the failure if a failure occurred and <samp class="codeph nolang">includeExternalFilePermissionsInfo</samp> is <samp class="codeph nolang">true</samp>; <samp class="codeph nolang">null</samp> otherwise.</td>

              <td class="entry" headers="d978217e45" data-title="Available Version">39.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d978217e36" data-title="Property Name"><samp class="codeph apex_code">external​FileSharing​Status</samp></td>

              <td class="entry" headers="d978217e39" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#ExternalItemSharingType"><samp class="codeph apex_code">ConnectApi.​ContentHub​ExternalItem​SharingType</samp></a></td>

              <td class="entry" headers="d978217e42" data-title="Description">Sharing status for the external file.
                Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">DomainSharing</samp>—File is shared with the domain.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">PrivateSharing</samp>—File is private or shared only with individuals.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">PublicSharing</samp>—File is publicly shared.
                  </li>
                </ul>
                Value is <samp class="codeph nolang">null</samp> for non-external files or when <samp class="codeph nolang">includeExternalFilePermissionsInfo</samp> is <samp class="codeph nolang">false</samp>.</td>

              <td class="entry" headers="d978217e45" data-title="Available Version">39.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d978217e36" data-title="Property Name"><samp class="codeph apex_code">repository​PublicGroups</samp></td>

              <td class="entry" headers="d978217e39" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_repository_group_summary.htm#apex_connectapi_output_repository_group_summary" title="A group summary."><samp class="codeph apex_code">ConnectApi.​RepositoryGroupSummary</samp></a>&gt;
              </td>

              <td class="entry" headers="d978217e42" data-title="Description">Available public groups in the external repository or <samp class="codeph nolang">null</samp> for non-external files or when <samp class="codeph nolang">includeExternalFilePermissionsInfo</samp> is <samp class="codeph nolang">false</samp>.</td>

              <td class="entry" headers="d978217e45" data-title="Available Version">39.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [ConnectApi.AbstractRepositoryFile](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_abstract_repository_file.htm "A repository file.")