disableRole (ACLEntry - Java)

Disables a role for an entry.

Defined in

ACLEntry

Syntax

public void disableRole(String role)
    throws NotesException

Parameters

String 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.

Example