IsPublic (Agent - Java)

Read-only. Indicates whether an agent is shared or private.

  • A shared agent is accessible to all users of a database and is stored in the database.
  • A private agent is accessible only to its owner and is stored in the owner's desktop file.
Note: Shared agents are sometimes called public agents.

Defined in


Data type



public boolean isPublic()
    throws NotesException

Legal values

  • true if the agent is shared
  • false if the agent is private