To get Google Groups User details

Google Groups is a service from Google that provides discussion groups for people sharing common interests. The Groups service also provides a gateway to Usenet newsgroups via a shared user interface.

Google Groups became operational in February 2001, following Google's acquisition of Deja's Usenet archive. Deja News had been operational since 1995.
Google Groups allows any user to freely conduct and access threaded discussions, via either a web interface or e-mail. There are at least two kinds of discussion group. The first kind are forums specific to Google Groups, which act more like mailing lists.The second kind are Usenet groups, accessible by NNTP, for which Google Groups acts as gateway and unofficial archive. The Google Groups archive of Usenet newsgroup postings dates back to 1981. Through the Google Groups user interface, users can read and post to Usenet groups.

In addition to accessing Google and Usenet groups, registered users can also set up mailing list archives for e-mail lists that are hosted elsewhere[1]


As G Suite user/Gmail User, it is not easy to find out all group details If you are as owner, member or manager and other details.
Below Script will help to get Current user group list (Owner, Manager or Member) email & other details.

  • Requirements:
    • G Suite/G Mail Account
    • Access to GroupsApp API 
    • Current user Group member view access*
    • Google apps script execution permission 
    • Make copy My Group Member List
  • Run Script
    • Make Google sheet copy
    • Copied sheet Open Script Editor from "Tools" Menu 
    • Run OnOpen() Function 
    • First time it will ask Authorization for yor G Suite/Gmail account sources
    • Allow access 
    • After Allowing access you will find new menu "My Groups" in Google Sheet  
    • Click on My Groups menu --> Click on "Get My Google Groups"  
    • Sheet will clear and append new  header
    • It will start appending Group email Id, your role and Group members email ids & Count.-- "Be careful when you ruing script every time it will clear data from current sheet"
Happy Coding...

Comments

Popular posts from this blog

Google Apps Script Exception Handling

Google Apps Script Regular Expressions

Responsive Web Apps using Google Apps Script