Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Assuming this used to work, it no longer works as getEditors returns a list of users rather than a list of emails (see developers.google.com/apps-script/reference/spreadsheet/…). To get the email from the user, the same limitation applies. Commented Jan 28, 2019 at 22:41
  • However when you have user A & B in the session. Editors will be only [userA, userOwner], userB is nowhere to be found. And I'm actually using userB to view the document. Commented May 10, 2022 at 12:24