0

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

stil
  • 5,306
  • 3
  • 38
  • 44

1 Answers1

5

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

Srik
  • 7,907
  • 2
  • 20
  • 29
  • From Google website: "[...] Added Drive Service, which allows scripts to create and modify files and folders in Google Drive. This is a newer version of the existing DocsList Service." Is it recommended way? – stil Jun 14 '13 at 17:50
  • Until Drive Service gets all the features, I guess that's your easiest way out – Srik Jun 15 '13 at 10:20
  • The DocList Service was deprecated. – Rubén Nov 07 '16 at 05:00