Get count of user documents in Google Drive

别等时光非礼了梦想. 提交于 2019-12-13 05:50:21

问题


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

Regards


回答1:


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.



来源:https://stackoverflow.com/questions/31725883/get-count-of-user-documents-in-google-drive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!