Hello again Guys

I have one more situation where I hope to get your advice.

I try to use the Script editor in google spreadsheet.

*function myFunction2() {*


*  // Log the email address of the person running the script.*

  

*   var email = Session.getActiveUser().getEmail();*

* Logger.log(email);*

*}*

Settings for trigger: "from table" and "on edit"
Access and approval for the app, confirmed
I am admin of the file and of account

I want trigger this in spreadsheet to get the name / email address of the 
spreadsheet user (person who work currently on that file)

After trigger this function in spreadsheet, I receive an error only, with a 
note of "You don“t have the necessary access / approval to trigger of 
get.Active.User

Do anyone have idea where else i have to give approval to this script (as 
checked everything already)?

thank you again for your ideas
Mingkai


-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to