Examples: IsPrivate property (NotesOutlineEntry - LotusScript®)

This script indicates whether an entry is private.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim outline As NotesOutline
Dim oe As NotesOutlineEntry
Set db = session.CurrentDatabase
Set outline = db.GetOutline("products")
Set oe = outline.GetFirst()
If oe.IsPrivate Then 
  Messagebox "This entry is private."
Else
  Messagebox "This entry is public."
End If