Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.ExternalFilePermissionInformation

External file permission information.
Property Name Type Description Available Version
external​FilePermission​Types List<ConnectApi.​ContentHub​PermissionType> Available permission types for the parent folder of the external file, or null for non-external files or when includeExternalFilePermissionsInfo is false. 39.0
external​FilePermissions​Failure Boolean true if the retrieval of external file information failed or if includeExternalFilePermissionsInfo is false; false otherwise. 39.0
external​FilePermissions​InfoFailureReason String Explanation of the failure if a failure occurred and includeExternalFilePermissionsInfo is true; null otherwise. 39.0
external​FileSharing​Status ConnectApi.​ContentHub​ExternalItem​SharingType Sharing status for the external file. Values are:
  • DomainSharing—File is shared with the domain.
  • PrivateSharing—File is private or shared only with individuals.
  • PublicSharing—File is publicly shared.
Value is null for non-external files or when includeExternalFilePermissionsInfo is false.
39.0
repository​PublicGroups List<ConnectApi.​RepositoryGroupSummary> Available public groups in the external repository or null for non-external files or when includeExternalFilePermissionsInfo is false. 39.0