Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
ShinehahGnolaum
7 years agoHelpful | Level 7
How do I get the information for the account that is currently logged in?
I would like to show the user the account that is currently logged in when he opens the app if he is already logged in in SwiftyDropbox in iOS. I am not able to find the documentation for that. There...
- 7 years ago
I accidentally ran into the answer in old sample code, and I went from there. It's
DropboxClient.users.getCurrentAccount()
- 7 years agoThat's correct. You can find the documentation for that here:
https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html#/s:FC13SwiftyDropbox11UsersRoutes17getCurrentAccountFT_GCS_10RpcRequestCCS_5Users21FullAccountSerializerCS_14VoidSerializer_
ShinehahGnolaum
7 years agoHelpful | Level 7
I accidentally ran into the answer in old sample code, and I went from there. It's
DropboxClient.users.getCurrentAccount()
Greg-DB
Dropbox Community Moderator
7 years agoThat's correct. You can find the documentation for that here:
https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html#/s:FC13SwiftyDropbox11UsersRoutes17getCurrentAccountFT_GCS_10RpcRequestCCS_5Users21FullAccountSerializerCS_14VoidSerializer_
https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html#/s:FC13SwiftyDropbox11UsersRoutes17getCurrentAccountFT_GCS_10RpcRequestCCS_5Users21FullAccountSerializerCS_14VoidSerializer_
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!