我在自動向Google日曆添加成員時遇到問題。問題使用Google Apps腳本將非Gmail用戶添加到Google日曆
我的功能是:與Gmail帳戶
function addToCalendar(email, calendar) {
// Create a user with read/write access to calendar
var resource = {
scope: {
type: 'user',
value: email
},
role: 'writer'
};
Calendar.Acl.insert(resource, calendar);
}
此功能,但不與非Gmail帳戶的正常工作。非Gmail帳戶仍被列爲在日曆中添加,但無法訪問日曆。
我認爲這個問題源於Google日曆需要Gmail帳戶。當您嘗試手動添加一個用戶,你會得到這樣的提示:
截圖:
有什麼辦法複製這種與谷歌Apps腳本邀請,還是有辦法來解決這個問題?
任何幫助表示讚賞。
謝謝
我不確定是否有解決方法或允許(列出但由於它們不是gmail帳戶而無法訪問日曆)。但嘗試添加此功能請求,你可能會得到一個更好的/具體的答案。道歉sendNotifications用於事件,不用於ACL功能。 –