AppUserLogin() As Long

Description

This event is fired when a user is about to log in.

Parameters

None.

Return values

Return value

Description

EV_OK

Normal return.

EV_OK_ABORT 

VB logged the user in. Prevents FORMS’ usual login dialog from being shown and the AppUserLoggedIn event is skipped.

EV_ERROR

Login failure. Prevents the application from being started.

Suggested usage

Normally used to override the standard login sequence.

Application-level events