例: AddCertifierToAddressBook method

次のエージェントは、AceOne 上の Domino ディレクトリに CERT2.ID の文書を追加します。

Sub Initialize
  Dim session As New NotesSession
  Dim reg As New NotesRegistration
  reg.RegistrationServer = "AceOne"
  reg.StoreIDInAddressBook = True
  Call reg.AddServerToAddressBook( _
  "c:¥NotesAdministrator¥cert2.id", _ ' ID file
  "AceHardware", _ ' certifier password
  "", _ ' location field
  "") ' comment field
End Sub