disableRole (NotesACLEntry - JavaScript)

Disables a role for an entry.

Defined in

NotesACLEntry

Syntax

disableRole(role:string) : void
Parameter Description
role The name of the role to disable. 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 disabled for the entry, this method does nothing.