CurrentAccessLevel (NotesDatabase - LotusScript®)

Read-only. The current user's access level to a database.

Defined in

NotesDatabase

Data type

Constant of type integer

Syntax

To get: level% = notesDatabase .CurrentAccessLevel

Legal values

  • ACLLEVEL_NOACCESS (0)
  • ACLLEVEL_DEPOSITOR (1)
  • ACLLEVEL_READER (2)
  • ACLLEVEL_AUTHOR (3)
  • ACLLEVEL_EDITOR (4)
  • ACLLEVEL_DESIGNER (5)
  • ACLLEVEL_MANAGER (6)

Usage

  • If a script runs on a workstation, the CurrentAccessLevel is determined by the access level of the current user.
  • If a script runs on a server, the CurrentAccessLevel is determined by the access level of the person who last saved the script (the script owner).

The database must be open to use this property.

Example