Hi Max, Try running the script from the script editor directly just once - it will prompt you for that authorization which will be reused when run from the trigger.
Cheers, David Haley | Google Enterprise | Sales Engineer Sent from my Android phone On Jan 18, 2012 1:51 PM, "Max Noel" <[email protected]> wrote: > Also, what privileges do I need to grant the user the Apps Script is > running as, in order to allow usage of the UserManager class? In my > preliminary tests, all calls to this class (from an onEdit trigger) fail > with "Authorization is required to perform that action." > > -- Max > > -- > You received this message because you are subscribed to the Google Groups > "Google Apps Domain Information and Management APIs" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-apps-mgmt-apis/-/88LZgXG79HwJ. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-apps-mgmt-apis?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
