DBSETLPWD

Description

Set the user server password in the LOGINREC structure.

Syntax

RETCODE DBSETLPWD(loginrec, password)
 
LOGINREC     *loginrec;
char                *password;

Parameters

loginrec

A pointer to a LOGINREC structure, which will be passed as an argument to dbopen. You can allocate a LOGINREC structure by calling dblogin.

password

The password that will be sent to the server. It must be a null-terminated character string. The maximum length of the string, not including the null terminator, is 30 characters.

Returns

SUCCEED or FAIL.

Usage

See also

dblogin, dbopen, DBSETLAPP, DBSETLHOST, DBSETLUSER