isRoleEnabled (ACLEntry - Java)

Indicates whether a role is enabled for an entry.

Defined in

ACLEntry

Syntax

public boolean isRoleEnabled(String role)
    throws NotesException

Parameters

String role

The name of the role.

Return value

boolean
  • true if the role is enabled for this entry
  • false if the role is not enabled for this entry

Usage

The role must exist in the ACL.

Example