You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

himanshu_jha's avatar
himanshu_jha
Explorer | Level 3
7 years ago

User part of a TEAM does not have different Root Namespace Id than Home Namespace Id

Team, can you please help me on this. 

 

Does older User Account created prior to Team Space configuration can also have different Root NameSpace ID comared to Home Namespace ID?

For some of the user account, even though they are part of a TEAM, querying on user's current account API results something like this: that is same namespace id for both Root and Home. 

"root_info": {
        ".tag": "user",
        "root_namespace_id": "XX",
        "home_namespace_id": "XX",
      }

 

  • For users on teams that are not using the "team space" configuration, their root_namespace_id and home_namespace_id will be identical. You can find more information in the Namespace Guide.

     

    To check whether a user is a member of a team at all, you should check the FullAccount.team value returned by /2/users/get_current_account. It will be set if they are a member of a team, and will not be set if they are not.

     

     

  • himanshu_jha's avatar
    himanshu_jha
    Explorer | Level 3

    Team , Please help on this.

    How to check whether a user is part of a team and hence only then users is allowed to access TEAM Folders. 

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

    For users on teams that are not using the "team space" configuration, their root_namespace_id and home_namespace_id will be identical. You can find more information in the Namespace Guide.

     

    To check whether a user is a member of a team at all, you should check the FullAccount.team value returned by /2/users/get_current_account. It will be set if they are a member of a team, and will not be set if they are not.

     

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,885 PostsLatest Activity: 3 hours ago
326 Following

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