lrd_logon

Example: lrd_logonOracle 8.0 Functions

Creates a simple database session.

LRDRET lrd_logon( void *mpvLRDDBIHandleEnv, void **mppvLRDDBIHandleSvcCtx, char *mpcUserName, char *mpcPassword, char *mpcServerID, int miDBErrorSeverity );


mpvLRDDBIHandleEnv A non-null pointer to an LRDDBI environment handle.
mppvLRDDBIHandleSvcCtx A pointer to a pointer to an LRDDBI service context handle.
mpcUserName A non-NULL pointer to a database user name.
mpcPassword A non-NULL pointer to the password for the specified user name.
mpcServerId A pointer to a string containing the database server ID. A NULL value designates the default host.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_logon function creates a simple logon session, where the user name, password, and database server identification string are all null-terminated strings. This function is only supported for Oracle 8.0 and higher.

Return Values

See LRD Return Values.

Parameterization

The following arguments can be parameterized using standard parameterization: mpcUserName, mpcPassword, mpcServerId