cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change member permission automaticaly when we share a folder ? via dropbox api

How to change member permission automaticaly when we share a folder ? via dropbox api

VAR_46
Helpful | Level 6

hey everyone, i already can share a folder, but i need to change the permission exactly after i share it, what code refrence i should use ?, and how to implement it ?

1 Accepted Solution

Accepted Solutions

Re: How to change member permission automaticaly when we share a folder ? via dropbox api

Greg-DB
Dropboxer

You can set the access level directly in the AddMember you use with AddFolderMemberAsync in the first place:

 

https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_AddMember__ctor_1.htm

 

If you need to modify a member's access level after the fact though, you can use UpdateFolderMemberAsync:

 

https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_Upd...

View solution in original post

2 Replies 2

Re: How to change member permission automaticaly when we share a folder ? via dropbox api

Greg-DB
Dropboxer

You can set the access level directly in the AddMember you use with AddFolderMemberAsync in the first place:

 

https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_AddMember__ctor_1.htm

 

If you need to modify a member's access level after the fact though, you can use UpdateFolderMemberAsync:

 

https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_Upd...

View solution in original post

Re: How to change member permission automaticaly when we share a folder ? via dropbox api

VAR_46
Helpful | Level 6

Thanks Greg work like charm, you're Rock !!!

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    VAR_46 Helpful | Level 6
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?