Determine your domain and name of admin server
I just started using Domino 6 and we often make some minor changes to agents when moving from development to production. Is there a standard method to determine your domain and the name of the admin server in your domain?
If you are running something from the client, you can find the users mailserver and then open the address book on the mailserver. If you are running on the server, open the server's addressbook. Find the current server or mail server's document and get the domain name from that document.
The administration server varies for each database. To find out a database's admin server, you need to use the ACL Class and scan all ACL entries for one where the property IsAdminServer is true. You can do this for the address book to find the Admin server for the addressbook.
Do you have comments on this Ask the Expert question and response? Let us know.
This was first published in February 2005