enableRole (ACLEntry - Java)

Enables a role for an entry.

Defined in

ACLEntry

Syntax

public void enableRole(String role)
    throws NotesException

Parameters

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

Example