Google Apps Script 自分のメールアドレスを取得するサンプル
環境
Windows11 pro
構文
Session.getActiveUser().getEmail()
メールアドレスを取得するには、以下を使用します。
使用例
function myFunction() {
Logger.log(Session.getActiveUser().getEmail())
}
Coding Changes the World
環境
Windows11 pro
構文
Session.getActiveUser().getEmail()
メールアドレスを取得するには、以下を使用します。
使用例
function myFunction() {
Logger.log(Session.getActiveUser().getEmail())
}