Roles (ACLEntry - Java)

Read-only. The roles that are enabled for an entry.

Defined in

ACLEntry

Data type

Vector; elements are String

Syntax

public java.util.Vector getRoles()
    throws NotesException

Usage

Each element in the vector is the name of a role. Each role name is surrounded by brackets, for example, "[Supervisor]."

Notes® Release 2 "privileges" are surrounded by parentheses. Properties and methods affecting roles, such as disableRole and enableRole, do not work on privileges.

Example