JAVA/CORBA CLASSES


Roles property
Example

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

Language cross-reference

Roles property in LotusScript NotesACLEntry class

@UserRoles function in formula language

Example
See Also