We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

TwinBlade's avatar
TwinBlade
Helpful | Level 5
7 years ago

Folder member access level

Hi,

I am using the .NET SDK and I am trying to add members to a shared folders like this: 

newMembers.Add(new AddMember(new MemberSelector.Email(user.Email), accessLevel2.AsEditor));

And then do the AddFolderMembersAsync. However I am unsure of how to set the accessLevel properly - as right now it is set to viewer nevertheless.

Thank you in advance! 

  • You can set the access level in the AddMember object like this:

    AccessLevel.Editor.Instance

     (Or AccessLevel.Viewer.Instance, etc.)

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    You can set the access level in the AddMember object like this:

    AccessLevel.Editor.Instance

     (Or AccessLevel.Viewer.Instance, etc.)