Cannot delete a database from Lotus Script

Hi,I created an action to register a new user in Domino Server using

the class NotesRegistration. I also created an action to delete the username and it database.

The action to register the new user works perfectly. But not the action to delete it.

When I created the new user I was logged as Domino Administrator. So, I though the Domino Administrator will be added in database ACL for this new user (only the new user is added). But is was not working. Because of that I cannot delete the user database. It works only if I execute the delete action as the new user.

Two question:

  1. Is possible to use the NotesRegistration or another class to create the user database adding ACLs ?

  2. Is there some way to authenticate from lotus script ? This way I can pass the new username and password to add ACL for Domino Administrator.

Thanks

Rodrigo

Subject: Cannot delete a database from Lotus Script

in your mail template you need to add an entry for the admin, or better yet an admin group, and enclose the entry in [square brackets]. This will make all new mail files inherit the entry created with that template…

[Adminstrators] - Manager

Subject: RE: Cannot delete a database from Lotus Script

Paul,Thank you very much.

Now the delete action is working perfectly.