---
schema_version: "1"
id: 1dd4da0f3ed40f44bc52f5589dfae169ce4c685a89ac79346791ba8d934d7047
title: ConnectApi.MCSFolderShareInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_m_c_s_folder_share.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_m_c_s_folder_share.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e9561bbed9ff0722e271ca10e08d432a359f53de80dc28d63f8fc4eadcb85320
description: Target to share a managed content space folder with.
---
# ConnectApi.MCSFolderShareInput

Target to share a managed content space folder with.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d662351e26">Property</th>
              <th class="featureTableHeader vertical-align-top " id="d662351e28">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d662351e30">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d662351e32">Required or Optional</th>
              <th class="featureTableHeader vertical-align-top " id="d662351e34">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d662351e26 d662351e34" data-title="Property"><samp class="codeph apex_code">targetId</samp></td>
              <td class="entry" headers="d662351e28" data-title="Type">String</td>
              <td class="entry" headers="d662351e30" data-title="Description">ID of the target to share the managed content space folder with.<p class="p">Supported target IDs are
                  the root folder IDs of workspaces. To get the root folder ID for a space, use the
                  <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_ManagedContent_static_methods.htm#apex_ConnectAPI_ManagedContent_getManagedContentSpace_1" title="Get a managed content space."><samp class="codeph apex_code">getManagedContentSpace(contentSpaceId)</samp></a> method.
                </p>
              </td>
              <td class="entry" headers="d662351e32" data-title="Required or Optional">Optional</td>
              <td class="entry" headers="d662351e26 d662351e34" data-title="Property">63.0</td>
            </tr>
          </tbody>
        </table>

#### See Also

- [ConnectApi.MCSFolderShareCollectionUpdateInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_m_c_s_folder_share_collection_update.htm "Update the targets that a managed content space folder is shared with.")