<?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 Add a group to a folder or sub folder NOT shared folder. C# in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380010#M21234</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;Was wondering how to add a group to a folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example we have Studio/WIP/158987&lt;/P&gt;
&lt;P&gt;I want to make it where i can add a group called designers (already created in the front end and has 2 users in it) to the 158987 folder. How would i do this?&lt;/P&gt;
&lt;P&gt;I have tried Sharing.AddFolderMember but it requires a sharedFolderId. That leads to my next question. What leads to a folder being classes as a shared folder?&lt;/P&gt;
&lt;P&gt;I am using the DropboxTeamClient as we are hoping to use this as a business.&lt;/P&gt;
&lt;P&gt;Code below.&lt;/P&gt;
&lt;PRE&gt;var dbx = client.AsAdmin(memId);
dbx.Sharing.AddFolderMemberAsync()&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Nov 2019 15:49:00 GMT</pubDate>
    <dc:creator>daniaaluyr</dc:creator>
    <dc:date>2019-11-21T15:49:00Z</dc:date>
    <item>
      <title>Add a group to a folder or sub folder NOT shared folder. C#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380010#M21234</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;Was wondering how to add a group to a folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example we have Studio/WIP/158987&lt;/P&gt;
&lt;P&gt;I want to make it where i can add a group called designers (already created in the front end and has 2 users in it) to the 158987 folder. How would i do this?&lt;/P&gt;
&lt;P&gt;I have tried Sharing.AddFolderMember but it requires a sharedFolderId. That leads to my next question. What leads to a folder being classes as a shared folder?&lt;/P&gt;
&lt;P&gt;I am using the DropboxTeamClient as we are hoping to use this as a business.&lt;/P&gt;
&lt;P&gt;Code below.&lt;/P&gt;
&lt;PRE&gt;var dbx = client.AsAdmin(memId);
dbx.Sharing.AddFolderMemberAsync()&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:49:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380010#M21234</guid>
      <dc:creator>daniaaluyr</dc:creator>
      <dc:date>2019-11-21T15:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add a group to a folder or sub folder NOT shared folder. C#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380040#M21239</link>
      <description>&lt;P&gt;In order to add a group or member to a folder, that folder does need to be shared first.&lt;/P&gt;
&lt;P&gt;If the folder is underneath a folder that is already shared, you may wish to add the group or member to that parent shared folder.&lt;/P&gt;
&lt;P&gt;Or, you can share the specific folder itself. You can do so via the website &lt;A href="https://help.dropbox.com/files-folders/share/share-with-others" target="_self"&gt;as covered here&lt;/A&gt;, or via the API. In the .NET SDK in particular, you would use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ShareFolderAsync_1.htm" target="_self"&gt;the ShareFolder method&lt;/A&gt; to do so.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:56:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380040#M21239</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-11-21T16:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add a group to a folder or sub folder NOT shared folder. C#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380044#M21240</link>
      <description>&lt;P&gt;Ahh i see.&amp;nbsp; Thanks Greg. I have got that bit working now. However how can i add a group?&lt;/P&gt;&lt;P&gt;So i have got the below:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; var members = new[] { new AddMember(new MemberSelector.Email("email")) };
 await dbx.Sharing.AddFolderMemberAsync(sharedFolderId, members);&lt;/PRE&gt;&lt;P&gt;There is no "AddFolderGroupAsync". Not that i could find anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:01:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380044#M21240</guid>
      <dc:creator>daniaaluyr</dc:creator>
      <dc:date>2019-11-21T17:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add a group to a folder or sub folder NOT shared folder. C#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380050#M21242</link>
      <description>&lt;P&gt;To add a group, you should use the same&amp;nbsp;AddFolderMemberAsync method, but you should use the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_MemberSelector_DropboxId.htm" target="_self"&gt;MemberSelector.DropboxId&lt;/A&gt; selector (instead of&amp;nbsp;MemberSelector.Email). You should put the group ID value there.&amp;nbsp;&lt;SPAN&gt;Group IDs start with "g:". You can get the group IDs from&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Team_Routes_TeamTeamRoutes_GroupsListAsync_1.htm" target="_self" rel="nofollow noopener noreferrer"&gt;GroupsListAsync&lt;/A&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Team_Routes_TeamTeamRoutes_GroupsListContinueAsync_1.htm" target="_self" rel="nofollow noopener noreferrer"&gt;GroupsListContinueAsync&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:13:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Add-a-group-to-a-folder-or-sub-folder-NOT-shared-folder-C/m-p/380050#M21242</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-11-21T17:13:31Z</dc:date>
    </item>
  </channel>
</rss>

