Session.getActiveUser().getEmail() returns no Value

后端 未结 1 2050
野的像风
野的像风 2021-01-22 15:03

this is my first Stackoverflow Questions, so I\'m trying to do my best to be clear and structured here but please forgive me for beginner mistakes :)

So I\'m having a li

相关标签:
1条回答
  • 2021-01-22 15:09

    [In case you find yourself here] From the documentation:

    ...for example, the user's email address is not available in any context that allows a script to run without that user's authorization, like a simple onOpen(e) or onEdit(e) trigger...

    This explains the behaviour the OP was facing...

    0 讨论(0)
提交回复
热议问题