EnableRole (NotesACLEntry - LotusScript®)

Given the name of a role, enables the role for an entry.

Defined in

NotesACLEntry

Syntax

Call notesACLEntry .EnableRole( name$ )

Parameter

name$

String. The name of the role to enable. The recommended style is to use just the name, with no parentheses or brackets around it. If brackets surround the name, they will be stripped and the enclosed name used.

Usage

If the role does not exist in the access control list, this method raises the error "Role name not found."

If the role exists in the ACL, and is already enabled for the entry, this method does nothing.

Example