CurrentAccessLevel (Database - Java)

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

Defined in

Database

Data type

int

Syntax

public int getCurrentAccessLevel()
    throws NotesException

Legal values

  • ACL.LEVEL_AUTHOR
  • ACL.LEVEL_DEPOSITOR
  • ACL.LEVEL_DESIGNER
  • ACL.LEVEL_EDITOR
  • ACL.LEVEL_MANAGER
  • ACL.LEVEL_NOACCESS
  • ACL.LEVEL_READER

Usage

If a program runs on a workstation or is remote (IIOP), CurrentAccessLevel is determined by the access level of the current user.

If a program runs on a server, CurrentAccessLevel is determined by the access level of the person who last saved the program (the owner).

The database must be open to use this property.

Example