Learn how to make the most out of the Dropbox Community here 💙.
Learn how to make the most out of the Dropbox Community here 💙.
1. With a user-linked app, to determine if an account has a team space, you can use the 'distinct_member_home' feature on the /2/users/features/get_values endpoint. (The 'root_info.root_namespace_id' value from /2/users/get_current_account alone does not indicate the existence of a team space, as every account has some root namespace ID.)
2. That's correct, the 'team_shared_dropbox' feature values only indicate if the account is on a team with a shared team space in particular, so it cannot be used to detect if the account is on a team with a team space of any type.
If you have a user-linked app and want to check if the account has a team space (shared or not), use the above mentioned 'distinct_member_home' feature on the /2/users/features/get_values endpoint.
Hi Greg,
I don't see "distinct_member_home" class that is derived from the feature class in the .net dropbox api. I am using Dropbox.api 7.0.
The below screenshot is from the documentation
SJ_Code The team_shared_dropbox and distinct_member_home feature values for users and the has_distinct_member_homes feature values for teams haven't been implemented in .NET SDK yet.
You can determine the same information from the RootInfo object in the FullAccount returned by GetCurrentAccountAsync though:
Sorry, I mixed the feature tag for the teams and users so let me take a step back and ask you, differently,
So far, I have been using HasTeamSharedDropbox to determine whether the teams use team spaces and it was returning the value "True" but I think my team has been upgraded to the updated team spaces and it's returning "False" now (Based on this). Is there any way I can verify it in the web UI?
1. Can we assume that if the teams are upgraded to the team spaces or updated team spaces, all users are upgraded to it too?
2. How can I determine whether the teams use the team spaces or updated team spaces?
3. If no to the first question then how can I determine same thing for users?
** I am using .net SDK.
Also, when do you think the updated .net SDK will be available?
SJ_Code I can only help with API matters, so if you have any questions regarding the UI or the state of your team itself, I recommend reaching out to support. But yes, has_team_shared_dropbox is only true for the non-updated team space configuration.
As for your questions:
1. Yes, a team gets upgraded as a whole, so when using the API you should see all of the members of a team with the same configuration.
2. Using the feature values on the API is the best way to check the state of a team, and you can see what each combination of features means in the blog post. Since those aren't currently implemented in the .NET SDK though, you'll need to use the workaround from my previous message to determine the same information. The feature values are essentially just shortcuts to check the same thing.
Thanks Greg-DB for quick replies with detailed answers!
When do you think the updated .NET SDK available?
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!