User Guide

Database connection functions 83
In summary, Dreamweaver UltraDev 4 developers need to add a new entry to the XML, and
Dreamweaver MX (or later), developers need to implement a new dialog box.
Description
This function gets JDBC Drivers and respective URL templates.
Arguments
None.
Returns
An array that contains JDBC drivers that have been detected on the users system and their
respective URL templates, if they are specified. The array has an even number of elements that
contain:
Driver1, UrlTemplate1, Driver2, UrlTemplate2, and so on.
MMDB.getLocalDsnList()
Availability
Dreamweaver UltraDev 4.
Description
This function gets ODBC DSNs that are defined on the users system.
Arguments
None.
Returns
An array that contains the ODBC DSNs that are defined on the users system.
MMDB.getPassword()
Availability
Dreamweaver UltraDev 1.
Description
This function gets the password that is used for the specified connection.
Arguments
connName
The connName argument is a connection name that is specified in the Connection Manager. It
identifies the connection string that Dreamweaver should use to make a database connection
to a live data source.
Returns
A password string that is associated with the connection name.
Example
The statement MMDB.getPassword ("EmpDB"); might return "joessecret".
000_DW_API_Print.book Page 83 Wednesday, August 20, 2003 9:14 AM