This class provides access to Google Groups information. It can be used to query information such
as a group's email address, or the list of groups in which the user is a direct member.
Here's an example that shows how many groups the current user is a member of:
var groups = GroupsApp.getGroups();
Logger.log('You belong to ' + groups.length + ' groups.');
This class provides access to Google Groups information. It can be used to query information such as a group's email address, or the list of groups in which the user is a direct member.
Here's an example that shows how many groups the current user is a member of: