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
JohnAdam_CUNY
9 months agoHelpful | Level 6
Python SDK dbx_team.team_members_get_info_v2 need to list EMPLID, PERSISTENT ID, EXTERNAL ID,, etc.
Python SDK for Dropbox: I am able to get the team member id but I also need to list given name, surname, external id, persistent id, and email. See below code sample. For results I get cl...
- 9 months ago
The following all work for me:
print(info.get_member_info().profile.name) print(info.get_member_info().profile.name.given_name) print(info.get_member_info().profile.name.surname) print(info.get_member_info().profile.name.display_name)
Note though that the values won't be set if the account doesn't have a name set yet (e.g., if it's a new invite).
If something isn't working correctly for you, feel free to share the code you're running and the full error/output you get.
JohnAdam_CUNY
Helpful | Level 6
Thanks that worked it gotr stuck on Name. DOesnt appear to be an attribute under profile. is there another way to get the Display name
Greg-DB
9 months agoDropbox Staff
The following all work for me:
print(info.get_member_info().profile.name)
print(info.get_member_info().profile.name.given_name)
print(info.get_member_info().profile.name.surname)
print(info.get_member_info().profile.name.display_name)
Note though that the values won't be set if the account doesn't have a name set yet (e.g., if it's a new invite).
If something isn't working correctly for you, feel free to share the code you're running and the full error/output you get.
- JohnAdam_CUNY9 months agoHelpful | Level 6
Yeah it was weird I had to do the below to get a the name. The error I got was a bit confusing but maybe it was my compiler. print(" Name is :" + str(info.get_member_info().profile.name) )
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 days agoIf 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!