How to access list of editors and viewers in Drive

2019-09-17 00:09发布

问题:

I'm trying to access list of editors or viewers, but can't find method to do that in documentation: https://developers.google.com/apps-script/reference/drive/drive-app

回答1:

You can use DocsList.File.getViewers() and DocsList.File.getEditors() Documentation here