enableRole (NotesACLEntry - JavaScript)

Enables a role for an entry.

Defined in

NotesACLEntry

Syntax

enableRole(role:string) : void
Parameter Description
role The name of the role to enable. Do not specify the brackets.

Usage

You must call save on the ACL if you want the modified ACL to be saved to disk.

The role must exist in the ACL. If the role exists, but is already enabled for the entry, this method does nothing.