title: UserManager Api in apps script
body: <p>i am trying to execute this function on google apps script </p>
  
  <pre><code>        function test()
          {
          var data=UserManager.getAllUsers();
  
          Logger.log(data.length);
          }  
  </code></pre>
  
  <p>It throws an error ' You do not have permission to perform this action '. Can anyone knows how can i get rid of this </p>