为什么Google Group出口会员没有给我一个准确的号码?

时间:2015-12-10 03:54:01

标签: google-groups

我使用此脚本从我的组中导出电子邮件地址,这样就获得了8815个结果。但是在我的小组的页面上,成员总数是13,000+(根据成员视图中右上角的计数器)。为什么会有区别?

function listGroupMembers() {
     var GROUP_EMAIL = "mygroupsname@googlegroups.com";
     var group = GroupsApp.getGroupByEmail(GROUP_EMAIL);
     var users = group.getUsers();
     var s = "Group " + GROUP_EMAIL + " has " + users.length +
     " members: ";
     for (var i = 0; i < users.length; i++) {
       var user = users[i];
       s = s + user.getEmail() + ", ";
     }
     var doc = DocumentApp.create('group emails');
  doc.getBody().appendParagraph(s);
   }

0 个答案:

没有答案