Laurie
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/b158c994-6d5b-4808-9f82-62bb61612d06n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CA%2BA7ZWLe4y-2a75Ug9kko7D0PHAF9wikXcHCsLxaSrKBbWJMgw%40mail.gmail.com.
Laurie
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/9DCFB01F-5FB8-4BFB-9200-A81F0A86AC3E%40berkeley.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CA%2BA7ZW%2BvkvfqRLdPf1Z0p52XooKpz5RHBsqq9e_i26Qddwpi5A%40mail.gmail.com.
Laurie
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/8E69E41D-8244-4E1C-B454-94E682A9B8AE%40berkeley.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CA%2BA7ZWJX_xEpR-f%2BxKUcN6gYFaaces%3D6HxcEAv_hhP0v6TfqSA%40mail.gmail.com.


Laurie
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/81CD2B62-7B9F-4065-94F4-B50B625B2F52%40berkeley.edu.



On Mar 5, 2024, at 8:51 PM, Laurie Nason <laurie...@thekaustschool.org> wrote:
Sorry for the late reply - it would seem so - if you look at group permissions you'll see this option:
<image.png>Depending on the highlighted yellow option - even the group manager may not be able to view the members information.Sorry - The security on google (though sometimes a pain) is there for a good reason!Laurie
On Mon, Mar 4, 2024 at 11:57 PM 'Ian Crew' via Google Apps Script Community <google-apps-sc...@googlegroups.com> wrote:
I also tried it for myself, based on your second script, and I’m getting the following (this is just a script associated with a Sheet); and the user I’m running it as is a manager of the group in line 2.
As you can see, it falls on line 8 with "GoogleJsonResponseException: API call to directory.members.list failed with error: Not Authorized to access this resource/api"So maybe I’m indeed out of luck?Thanks again,Ian
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CA%2BA7ZWK3wCy5LOT5T1B0PcpLr7P42FJXnw5jbDjK4F0iPf%3DtZw%40mail.gmail.com.
Laurie
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/FCF25195-0638-496A-8717-270B362B1A42%40berkeley.edu.