Allow Access to Open a database using LotusScript

Hi all,

I have created an Action that opens a persons Mailfile in order to create a document in a view.

This works well for me as the Administrator, but I want this to work for normal users, who may not have access to create documents in other databases.

Is there a way of calling the code as an Agent, which in turn would use the authority of the agent signer rather than the person clicking on the Action Button?

Cheers

Paul

Subject: Allow Access to Open a database using LotusScript

There is a table in Agent FAQ article called “Troubleshooting agents” which gives you the security information in an easy table, you can see how RunOnServer would do the job.

Subject: Allow Access to Open a database using LotusScript

Use the RunOnServer method:

Call agentName.RunOnServer()

From Designer help:

“If a Notes client invokes RunOnServer, security is through the signer of the agent.”

You can also pass a document id to the method if need be, which you can use to pass parameters/instructions to the server agent.