Lotus Domino and Notes Toolkit for COM - Sample Program:
VBScript\Asp\IntroAsp
Prints the title of a Domino database. There are
several parameters that you can pass to the ASP (all of which are optional --
defaults are used for unspecified parameters). Also, checking "Debug Mode" will
print the Domino Object method about to be called.
Initialization Method:
- Initialize (default) - Session authentication using
current user (KeyFilename) setting in notes.ini file. Note that this setting should
be set to the server's ID file.
If Password is not supplied, Initialize() is
called.
Does not check the password in the ID file if one exists. Access to other
servers is not allowed.
If
Password is supplied, Initialize(<password>) is
called.
Verifies that <password> is correct for the ID file. Access to other
servers is not allowed.
- InitializeUsingNotesUserName - Authentication by
Person lookup in N&A Book
If Username is not supplied
InitializeUsingNotesUserName("") is called.
If allowed by the server, this
will result in an Anonymous connection. Access to other servers is not
allowed.
If Username is supplied
InitializeUsingNotesUserName(<username>)
is called.
Authentication by lookup of <username> in N&A
Book. Internet Password is not checked. Access to other servers is
not allowed.
If
Username and Password are supplied
InitializeUsingNotesUserName(<username>,<password>) is
called.
Authentication by lookup of <username> in N&A
Book. Internet Password is checked against <password>.
Access to other servers is not allowed.
Username: (default = "") Person in N&A Book
Password: (default = "") Internet Password for this Person
Server: (default = "") 1st arg to Session.GetDatabase()
call. Note: If supplied, this must be the name of a Domino server,
whose Program Directory is on the PATH (and usually on the same physical machine) of the host IIS server machine.
DbFile: (default = "Names.nsf") 2nd ard to Session.GetDatabase() call.