Hi,
I have a ssjs to add an acl-entry to the acl of a database.
The code is not that complicated:
....
var acl:NotesACL = dbMail.getACL();
var acle:NotesACLEntry = acl.getEntry(groupname);
if (acle == null) {
acle = acl.createACLEntry(groupname, NotesACL.LEVEL_EDITOR);
}
...
acl.save();
....
But in the last line when saving the ACL it throws an error:
"Exception occured calling method NotesACL.save()
null"
Any idea?
Thanks! Joerg