Database Vuser Functions (LRD) > Alphabetical List of Functions > lrd_logon_ext

lrd_logon_ext

Example: lrd_logon_ext Oracle 8.0 Functions

Creates a simple database session.

LRDRET lrd_logon_ext ( void const *mpvLRDDBIHandleEnv, void **mppvLRDDBIHandleSvcCtx, char *mpcUserName, long mliUserNameLen, char *mpcPassword, long mliPasswordLen, char *mpcServerID, long mliServerIDLen, 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.
mliUserNameLen The length of the user name, or "-1" for a NULL-terminated value.
mpcPassword A non-NULL pointer to the password for the specified user name.
mliPasswordLen The length of the password, or "-1" for a NULL-terminated value.
mpcServerId A pointer to a string containing the database server ID. A NULL value designates the default host.
mliServerIdLen The length of the database server id, or "-1" for a NULL-terminated value.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_logon_ext function creates a simple database session, with explicitly specified lengths for the user name, password, and database server identification 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