Created
March 25, 2020 23:19
-
-
Save iaindooley/f0aed2352300a640e3839cdf27a391f6 to your computer and use it in GitHub Desktop.
Add members from Google Group
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addMembersFromGoogleGroup() | |
{ | |
var group = GroupsApp.getGroupByEmail("example@googlegroups.com"); | |
var users = group.getUsers(); | |
var board = new Trellinator().board("My Board"); | |
for (var i = 0; i < users.length; i++) | |
board.inviteMemberByEmail(users[i].getEmail()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment