Obtaining the Email Address of a Login User in a Different Domain

Asked 1 years ago, Updated 1 years ago, 39 views

Published as a web application
Run the application as: Who is accessing the web application?
Users with access to the application: All

If you are configuring and scripts

Session.getActiveUser().getEmail();

Then I can't get the email address of the logged-in user in a different domain than the script owner

In this case, is there any way to get the email address of the logged-in user?

google-apps-script

2022-09-30 16:55

1 Answers

I can do it now.Try it.


2022-09-30 16:55

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.