COM error on delegated calendar full text search

Hello,

I have two mail files (from different users) and I’m working with calendar entries in each of them. One of them allows me to run the following code:

l_oDocCol = g_oLNdb.FTSearch(‘[Categories] CONTAINS MyCategory’,0)

The other throws this error:

IDispatch exception code 0 from NotesDatabase: Notes error: You are not authorized to perform that operation ([Categories] CONTAINS MyCategory)…

As far as I know, I have full read/write access to the calendar on both mail files.

Can anyone give me a place to start on why one would throw an error and not the other one?

Thanks.

Bill