cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you new to Dropbox? Our Newcomers group is the perfect place to learn the basics, find out more 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
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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...

VAR_46
Helpful | Level 6
Go to solution

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    VAR_46 Helpful | Level 6
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?