Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Trying to get a list of users (Membership) for shared folders and could use some help.
static async Task Run()
{
using (var dbx = new DropboxClient("ACCESS TOKEN"))
{
FullSharedFolderMetadata metaName = new FullSharedFolderMetadata();
var list = await dbx.Files.ListFolderAsync(string.Empty);
foreach (var item in list.Entries.Where(i => i.IsFolder))
{
if (item.Name == "MyFolder")
{
//CAN I GET THE METADATA HERE?
}
}
}
}
If you want to get the list of members of a shared folder, you can use the GetSharedFolderAsync method.
When using includeMembership = true, as it is by default, the resulting FullSharedFolderMetadata will contain membership information.
If you need to list shared folders to find the desired one to begin with, you can use ListSharedFoldersAsync.
Thank you appreciate the help. That did it
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!