Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
parimisatya
6 years agoExplorer | Level 3
How to assign access level permission while sharing the file to the members
Hi
How to assign access level permission while sharing the file to the members using API
I have done in c# and code is here.
using (var dbx = new DropboxClient(token)) { var shareFolderLa...
- 6 years ago
When adding a member to a shared folder using the AddFolderMemberAsync method in the Dropbox .NET SDK like this, you can set the new member's access level when you construct the AddMember object, using this AddMember constructor, which takes both a MemberSelector and an AccessLevel.
The MemberSelector works the way you already have it, and you can supply an instance of the desired AccessLevel. For example, for view-only access, that would be AccessLevel.Viewer.Instance.
Greg-DB
Dropbox Community Moderator
6 years agoWhen adding a member to a shared folder using the AddFolderMemberAsync method in the Dropbox .NET SDK like this, you can set the new member's access level when you construct the AddMember object, using this AddMember constructor, which takes both a MemberSelector and an AccessLevel.
The MemberSelector works the way you already have it, and you can supply an instance of the desired AccessLevel. For example, for view-only access, that would be AccessLevel.Viewer.Instance.
parimisatya
6 years agoExplorer | Level 3
thanks for your prompt response
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!