GetAllUnreadDocuments (NotesDatabase - LotusScript®)

Creates a note collection of all unread documents in the database.

Note: This method is new with Release 8.

Defined in

NotesDatabase

Syntax

Set notesNoteCollection = notesDatabase .GetAllReadDocuments( [username] )

Parameters

username

String. Optional. If present, the method returns unread documents on behalf of the given name. If omitted, the method returns unread documents on behalf of the current user ID.

Return value

notesNoteCollection

NotesNoteCollection. The new note collection.

Usage

If the database does not track unread marks, all documents are considered read.

For more information, see the NotesNoteCollection class.