Discuss Dropbox Developer & API
Can you share with me some examples with generating CSV or any report about all members from Dropbox admin panel.
Example for you.
Create a member data report:
As you can see I need to automate this routine actions. I`m newbie in APIs and I need some parting words about it.
I`ve found some C# example and I want to know is it right direction to my goal ?
Thanks in advance.
private DropboxTeamClient DBTeamClient;
private DropboxClient DBClient;
var members = await DBTeamClient.Team.MembersListAsync();
foreach (var member in members.Members.OrderBy(a => a.Profile.Email))
var userClient = DBTeamClient.AsMember(member.Profile.TeamMemberId);
var list = await userClient.Files.ListFolderAsync(string.Empty);
foreach (var item inlist.Entries.OrderBy(a -> a.PathDisplay))
The "Export member data" functionality on the Dropbox Business Admin Console uses a different mechanism than the API, so there isn't a way to automate that same functionality exactly.
If you want to programmatically retrieve information about a team's members though, using the Dropbox Business API, as you've begun here, is the right way.
To get the kind of information available in that csv from the Business Admin Console, you'll want to use at least the following methods:
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!