Setting a User Name and Password
Go Up to Using Environment Variables
To set up a default user name and password for use on a PC client, create two environment variables, ISC_USER
, and ISC_PASSWORD
.
Even if ISC_USER
and ISC_PASSWORD
are set, a different user name and password may be specified in a DPB used as an argument to isc_attach_database()
. A user name or password specified in a database parameter buffer overrides the OS environment variables.
- Note: Using environment variables in this manner is not secure, and therefore not recommended.