Apps Developer Blog

Information for Google Apps Developers

Google Groups and Google Apps Script

December 16, 2011
Share on Google+ Share on Twitter Share on Facebook
Google
Labels: Apps Script , Groups

10 comments :

Shahana said...

Good example but little tough for general people.

December 17, 2011 at 1:17 PM
Alberto Bartoli said...

Any plan to allow a manager to add/invite group members ?

I realize there are many configuration possibilities for the membership status, but supporting even just a few of them would be VERY useful.

December 22, 2011 at 9:03 AM
SHT said...

Great example!

What about a script to add users to a particular goup? I have form that users complete to join a group. However, I have to manually add each user after they complete the form.

Thanks for work!

December 28, 2011 at 7:02 PM
Ron said...

I need to generate a simple report of all groups in my domain. Is there a way to do that?

Also, I second Alberto's suggestion.

February 13, 2012 at 8:37 AM
Saurabh Gupta said...

Thanks for the suggestion. If you can post these as feature requests on our tracker when we put it up for vote.

February 13, 2012 at 12:04 PM
Ron said...

We can post feature requests in on tracker? If so, how?

February 14, 2012 at 7:56 AM
Ron said...

I still need the ability to produce administrative reports on groups/members.

March 30, 2012 at 11:44 AM
Jan Zítko said...

Hi Trevor ,

thank you for your article ( Google Groups and Google Apps Script ) . I have one question if I can :)

It is possible delete users from Google Apps across the APi ? I found some manual functions for APi https://developers.google.com/google-apps/groups-settings/v1/reference/groups?hl=cs , but functions for remove users from Google Groups missing :( .

We need create console for manage groups, because we have for example 500 groups and when someone is member for example 5 groups. We need him remove from all groups at one time or from some.

So our request for the Google groups is create consol and then find user automaticly in all groups where is the member and then choose if delete from all groups or for example only from three groups. As needed.

If it possible to add function for add members to google groups it will be fantastic.

I hope you understand me :) . Have you some idea or experiences with this? thank you
Jan Zitko

January 28, 2013 at 4:33 AM
George said...

This blog entry seems to be out-of-date. Might be worth putting a warning up to that effect. Users (like me) may come to it, without realising it's no longer valid.

There's a dead link: Provisioning API points to:
https://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_protocol.html
Which no longer exists.

When I ran the script testGroupMembership, I got the error "TypeError: Cannot find function getGroupByName in object GroupsApp. (line 21, file "Code")"

It looks like the method getGroupByName has been replaced by getGroupByEmail (and works if you do replace it).

There's no reference to getGroupByName in the documentation below:
https://developers.google.com/apps-script/reference/groups/groups-app

August 7, 2013 at 5:59 PM
Karunaker Reddy said...

Can anybody help me out to find API for posting to google groups from my web application.

October 1, 2013 at 5:17 AM

Post a Comment

  

Labels


  • .NET 3
  • #io15 1
  • Administrative APIs 26
  • Admin SDK 4
  • AdSense 1
  • analytics 4
  • Android 5
  • App Engine 5
  • Apps Script 98
  • Auth 1
  • billing 4
  • Charts 1
  • Chrome OS 1
  • classroom 1
  • Cloud Storage API 1
  • Community 1
  • Developers 5
  • Directory API 1
  • Drive 2
  • Drive SDK 38
  • execution API 1
  • Firebase 1
  • Freemium 1
  • Fusion Tables 2
  • Gadgets 5
  • Gmail APIs 16
  • Google+ 3
  • Google APIs 3
  • Google Apps 3
  • Google Apps Directory API 1
  • Google Apps Marketplace 3
  • Google Apps Script 1
  • Google Calendar API 20
  • Google Contacts API 3
  • Google Data Protocol 7
  • google docs 3
  • Google Docs API 20
  • Google Drive 2
  • Google Forms 4
  • Google I/O 3
  • googlenew 1
  • Google Prediction API 3
  • Google Profiles API 2
  • Google sheets 2
  • Google Sites API 4
  • Google Spreadsheets API 4
  • Google Talk 1
  • Google Tasks API 6
  • Groups 2
  • Guest Post 42
  • ISVs 2
  • java 1
  • JavaScript 3
  • marketing 3
  • Marketplace 47
  • Marketplace ISV Guest 21
  • Migration 1
  • Mobile 1
  • mpstaffpick 1
  • oauth 11
  • OpenID 7
  • PHP 1
  • python 4
  • realtime API 1
  • Resellers 2
  • Ruby 1
  • SaaS 1
  • security 1
  • Staff Picks 2
  • webinar 2


Archive


  •     2015
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
  •     2014
    • Dec
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Mar
    • Feb
    • Jan
  •     2013
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2012
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2011
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2010
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb

Feed

Company-wide

  • Official Google Blog
  • Public Policy Blog
  • Student Blog

Products

  • Android Blog
  • Chrome Blog
  • Lat Long Blog

Developers

  • Developers Blog
  • Ads Developer Blog
  • Android Developers Blog
  • Google
  • Privacy
  • Terms