0

How can I get the list of all users and the number of Google Documents they have in Google Apps using Google Script?

Regards

Arshanaa
  • 35
  • 2
  • 5

1 Answers1

0

If you're simply looking to list the users and the number of docs, you can use the reports API for Drive activity: https://developers.google.com/admin-sdk/reports/v1/reference/usage-ref-appendix-a/users-docs.

Getting all users uses a similar service, and is practically written for you: https://developers.google.com/apps-script/advanced/admin-sdk-directory.

HDCerberus
  • 2,113
  • 4
  • 20
  • 36