GetProfileDocCollection (NotesDatabase - LotusScript®)

Given a profile name, returns a collection of Profile documents that match the name, or if no name is given, a collection of all Profile documents.

Note: This method is new with Release 5.

Defined in

NotesDatabase

Syntax

Set notesDocumentCollection = notesDatabase .GetProfileDocCollection( [profilename$] )

Parameters

profilename$

String. Optional. The name of the Profile document. Omit this parameter to retrieve all Profile documents.

Return value

notesDocumentCollection

NotesDocumentCollection. The collection of Profile documents that match the given name, or an unsorted collection containing all Profile documents in the database if no parameter is provided.

Usage

If the collection is empty, GetProfileDocCollection.Count is 0.