Calendar.getName()
function returns calendar owner's email address.This behavior is the same as Calendar.getId()
.
I want to get the calendar owner's display name.
What function should I use?
This is for Google Apps Script. https://developers.google.com/apps-script/reference/calendar/calendar
Logger.log('calendar.getName() : ' + calendar.getName());
I expect the output of Mizuki Kojima[IT department]
, but the actual output is mkojima51@example.co.jp
.