cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and 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: 

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

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

himanshu_jha
Explorer | Level 3
Go to solution

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",
      }

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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.

 

 

View solution in original post

2 Replies 2

himanshu_jha
Explorer | Level 3
Go to solution

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
Dropbox Staff
Go to solution

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.

 

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    himanshu_jha Explorer | Level 3
What do Dropbox user levels mean?