cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Known issues updated. Learn more
Highlighted

How to Manage Multiple Dropbox accounts on one PC

I am using Dropbox API to integrate Dropbox features in one of my developing windows application.

Now the scenario is like, I have one business account and one private account configured in my computer. 

Now I want to develop a feature which can get a list of dropbox accounts configured in a computer so that application can ask the user to select preferred Dropbox account to  use into the application.

 

Now how can i get the list of configured dropbox accounts through Api or any other way?

1 Accepted best answer

Accepted Solutions
Dropboxer

Re: How to Manage Multiple Dropbox accounts on one PC

Are you referring to getting the Dropbox accounts that already configured in the official Dropbox desktop client application? You can find the paths to the local Dropbox folders programmatically as documented here: https://www.dropbox.com/help/desktop-web/locate-dropbox-folder#programmatically

That only offers a few pieces of information about the local Dropbox folders. If you need more functionality than that, you'd need to use the Dropbox API, and have the user authorize your app via the OAuth app authorization flow. That results in an access token you can use to talk directly to the Dropbox API servers, not the local Dropbox desktop client application. You can have the user process the authorization flow multiple times to connect multiple accounts if desired though, in which case you'd have the app store multiple access tokens.

Reply
Loading...
1 Reply
Dropboxer

Re: How to Manage Multiple Dropbox accounts on one PC

Are you referring to getting the Dropbox accounts that already configured in the official Dropbox desktop client application? You can find the paths to the local Dropbox folders programmatically as documented here: https://www.dropbox.com/help/desktop-web/locate-dropbox-folder#programmatically

That only offers a few pieces of information about the local Dropbox folders. If you need more functionality than that, you'd need to use the Dropbox API, and have the user authorize your app via the OAuth app authorization flow. That results in an access token you can use to talk directly to the Dropbox API servers, not the local Dropbox desktop client application. You can have the user process the authorization flow multiple times to connect multiple accounts if desired though, in which case you'd have the app store multiple access tokens.

Reply
Loading...