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

lrd_session_begin

Example: lrd_session_begin Oracle 8.0 Functions

Creates and begins a user session for a server. (Oracle 8 and later)

LRDRET lrd_session_begin( void *mpvLRDDBIHandleSvcCtx, void *mpvLRDDBIHandleSession, unsigned long muliCredentials, long mliMode, int miDBErrorSeverity );


mpvLRDDBIHandleSvcCtx A pointer to an LRDDBI service context handle.
mpvLRDDBIHandleSession A pointer to an LRDDBI session handle.
muliCredentials Credentials for establishing the user session.
mliMode The mode of operation. Only a zero value is supported.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_session_begin function and begins a user session for a server. This function is only supported for Oracle 8.0 and higher.

For additional details, refer to the Function Header File lrd.h.

Return Values

See LRD Return Values.

Parameterization

You cannot use standard parameterization for any arguments in this function.