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.
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
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
10 comments :
Good example but little tough for general people.
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.
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!
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.
Thanks for the suggestion. If you can post these as feature requests on our tracker when we put it up for vote.
We can post feature requests in on tracker? If so, how?
I still need the ability to produce administrative reports on groups/members.
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
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
Can anybody help me out to find API for posting to google groups from my web application.
Post a Comment