title: Get group members with an admin account / deprecated GroupsManager class
body: <p>The class GroupsManager will be turned off by November 20, 2014 <a href="https://developers.google.com/apps-script/reference/domain/groups-manager" rel="nofollow">https://developers.google.com/apps-script/reference/domain/groups-manager</a></p>
  
  <p>I am using this class to manage some groups with my admin account as it's allowing access to group members <strong>WITHOUT BEING MEMBER OF</strong>.</p>
  
  <p>Sample code here:</p>
  
  <pre><code>var group = GroupsManager.getGroup("some-group-name@mydomain.com");
  var members = group.getAllMembers();
  </code></pre>
  
  <p>Using the Groups Service <a href="https://developers.google.com/apps-script/reference/groups/" rel="nofollow">https://developers.google.com/apps-script/reference/groups/</a> is not an option, as stated in the documentation: "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 <strong>WHICH THE USER IS MEMBER OF</strong>."</p>
  
  <p>Using the <strong>AdminSDK</strong> as proposed in the GroupsManager "To manage your domain, use the Admin SDK Directory and Admin SDK Reports advanced services instead." is neither an option as <strong>there is no method to retrieve the members of a group</strong>...</p>
  
  <p>So, anyone has a clue?</p>
  
  <p>Thank you,
  Franck</p>