I am trying desperately to get notifications to not show up for emails. When adding, and removing people, I want there to be 0 chance at the person getting notified.
I've tried addEditor/removeEditor, and now I'm trying Google's Drive API - Here is my sample code - Thanks so much in advance:
function addPermission() {
fol = DriveApp.getFolderById('string here') //Normally an actual ID in String Type. Removed for confidentiality.
files = fol.getFiles();
while (files.hasNext())
{
var file = files.next();
Drive.Permissions.insert(
{
'role': 'writer',
'type': 'user',
'value': 'email' //I put in an email in the string - Removed for confidentiality
},
file.getId(),
{
'sendNotificationEmails': false
}
);
}
folders = fol.getFolders();
}