Roles (ACL - Java)

Read-only. All the roles defined in an access control list.

Defined in

ACL

Data type

java.util.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