Skip to main content
edited tags
Link
Wicket
  • 39.4k
  • 9
  • 81
  • 201
added 2 characters in body
Source Link
qdwang
  • 459
  • 1
  • 5
  • 13

I've developed a web app inwith google script and code this in my gs.

var email = Session.getActiveUser().getEmail(); Logger.log(email); // then do something to render the Email address on the page 

After publishing the script, I log in with another account and execute the script.

Then the page display this:

This application was created by another user, not by Google.

This application has access to the following personal information: email address.

But still nothing in Log and the page display nothing.

I just can'tdon't get it...

I've developed a web app in google script and code this in my gs.

var email = Session.getActiveUser().getEmail(); Logger.log(email); // then do something to render the Email address on the page 

After publishing the script, I log in with another account and execute the script.

Then the page display this:

This application was created by another user, not by Google.

This application has access to the following personal information: email address.

But still nothing in Log and the page display nothing.

I just can't get it...

I've developed a web app with google script and code this in my gs.

var email = Session.getActiveUser().getEmail(); Logger.log(email); // then do something to render the Email address on the page 

After publishing the script, I log in with another account and execute the script.

Then the page display this:

This application was created by another user, not by Google.

This application has access to the following personal information: email address.

But still nothing in Log and the page display nothing.

I just don't get it...

Source Link
qdwang
  • 459
  • 1
  • 5
  • 13

google script Session.getActiveUser().getEmail() not working

I've developed a web app in google script and code this in my gs.

var email = Session.getActiveUser().getEmail(); Logger.log(email); // then do something to render the Email address on the page 

After publishing the script, I log in with another account and execute the script.

Then the page display this:

This application was created by another user, not by Google.

This application has access to the following personal information: email address.

But still nothing in Log and the page display nothing.

I just can't get it...