Stay organized with collections
Save and categorize content based on your preferences.
Groups
This service allows scripts to access Google Groups. 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 are a member of %s Google Groups.', groups.length);
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-14 UTC."],[[["The Groups service enables scripts to interact with Google Groups, allowing tasks like retrieving group details and user memberships."],["The `Group` class represents a Google Group, providing methods to access its email, members, roles, and child groups."],["The `GroupsApp` class provides methods for retrieving group information, such as finding a group by email or listing a user's memberships."],["The `Role` enum defines the possible roles a user can have within a group (e.g., OWNER, MEMBER)."]]],[]]