DisableRole (NotesACLEntry - LotusScript®)

Given a role, disables the role for an entry.

Defined in

NotesACLEntry

Syntax

Call notesACLEntry .DisableRole( name$ )

Parameter

name$

String. The name of the role to disable. 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, but is already disabled for the entry, this method does nothing.

Example