---
schema_version: "1"
id: 3ce144fd6e054ad7556e8ccd75ab5ac2c86f4778a934d6c120091bfdef57ea12
title: ConnectApi.MCSFolderShare
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_m_c_s_folder_share.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_m_c_s_folder_share.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 16ef924a9f0885a87d3a3efbb4660f512501e9a2b09a9d996f0dad520dc74883
description: Target that a managed content space folder is shared with.
---
# ConnectApi.MCSFolderShare

Target that a managed content space folder is shared with.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d1034235e26">Property Name</th>
              <th class="featureTableHeader vertical-align-top " id="d1034235e28">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d1034235e30">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d1034235e32">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1034235e26" data-title="Property Name"><samp class="codeph apex_code">canUserUnshare</samp></td>
              <td class="entry" headers="d1034235e28" data-title="Type">Boolean</td>
              <td class="entry" headers="d1034235e30" data-title="Description">Specifies whether the user has permission to unshare with the target space (<samp class="codeph apex_code"><span class="keyword">true</span></samp>) or not (<samp class="codeph apex_code"><span class="keyword">false</span></samp>). Content Manager or higher role in the target workspace has
                permission to unshare.</td>
              <td class="entry" headers="d1034235e32" data-title="Available Version">63.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1034235e26" data-title="Property Name"><samp class="codeph apex_code">shareStatus</samp></td>
              <td class="entry" headers="d1034235e28" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#MCSFolderShareStatusEnum"><samp class="codeph apex_code">ConnectApi.​MCSFolderShare​Status</samp></a></td>
              <td class="entry" headers="d1034235e30" data-title="Description">Status of sharing a managed content space folder. Values
                are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph apex_code">PendingShare</samp></li>
                  <li class="li"><samp class="codeph apex_code">PendingUnshare</samp></li>
                  <li class="li"><samp class="codeph apex_code">Shared</samp></li>
                </ul>
              </td>
              <td class="entry" headers="d1034235e32" data-title="Available Version">63.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1034235e26" data-title="Property Name"><samp class="codeph apex_code">targetId</samp></td>
              <td class="entry" headers="d1034235e28" data-title="Type">String</td>
              <td class="entry" headers="d1034235e30" data-title="Description">ID of the share target.</td>
              <td class="entry" headers="d1034235e32" data-title="Available Version">63.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1034235e26" data-title="Property Name"><samp class="codeph apex_code">targetLabel</samp></td>
              <td class="entry" headers="d1034235e28" data-title="Type">String</td>
              <td class="entry" headers="d1034235e30" data-title="Description">Label of the share target.</td>
              <td class="entry" headers="d1034235e32" data-title="Available Version">63.0</td>
            </tr>
          </tbody>
        </table>

#### See Also

- [ConnectApi.MCSFolderShareCollection](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_m_c_s_folder_share_collection.htm "Collection of targets that a managed content space folder is shared with.")