Getting error as "You are not authorized to perform that operation"

Hi,

I am using domino server and client. I have created users using Lotus Notes Administrator. I have installed client on another machine and Admin and Domino server resides on the same machine.

I wanted to reflect template mail file changes, to all the users mail file inherited from the same.

I have written code to perform the same but I am getting error as “You are not authorized to perform that operation”.

I am using following mentioned steps in my code:

  1. I have constructed mail file path (mail file resides on the server) for e.g. CN=Abhi/O=MyServer!!mail\vs

  2. Using this constructed mail file path, I had taken handle for the same using NSFDbOpen().

  3. I have passed the mail file handle to DesignRefresh() CAPI to reflect template file changes to the users mail file.

I have also tried to open the same user mail file using Domino Designer but getting the same error as mentioned above.

Please help me to resolve the above mentioned issue.

Thanks,

Abhi

Subject: What ID are you running your program under?

Sounds like you need to run it using the server’s id file?

Have you looked into just using the “Convert” Add-In Task we ship with the Domino Server?

Regards,

jpaganet@us.ibm.com