Getting Folder References Property

Can anyone please let me know how to get the folderreferences property of the document…for Eg if the document is in Inbox , it returns ($Inbox )…Like wise u can getting all folders…take a unique of them…enumerate them… using C toolkit.

Subject: Getting Folder References Property

Generally speaking, a document does not know what folder(s) it is in.

You can tell Notes to store the names of the folders a document is in within the document by setting …

notesDatabase.FolderReferencesEnabled=True

The database must have the $FolderInfo and $FolderRefInfo hidden views to support folder references. These views can be copied from the mail template.

Note : Setting this parameter does NOT track exising documents. The feilds are only updated when documents are moved into folders from that time forward.