TrustedOnly (Directory - Java)

Read-write. Indicates if only directories that contain trusted information will be searched by lookups.

Note: This property is new with Release 8

Defined in


Data type



To get: public boolean isTrustedOnly() throws NotesException

To set: public void setTrustedOnly(boolean flag) throws NotesException

Legal values

  • True indicates lookups will search only directories containing trust information.
  • False (default) indicates lookups will search all directories.


This property works with the GroupAuthorizationOnly and SearchAllDirectories properties to limit which directories are searched in a lookup.