AppUserLogin event

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

Syntax

Public Function AppUserLogin() As Long

Parameters

None.

Active objects

Application

Return values

evtOK 

Normal return.

evtOKAbort 

VB logged in the user. Prevents the login dialog from being shown.

evtError 

Login failure. Prevents the application from being started.

Suggested usage

This event could be used to override the standard login sequence.

AppUserLoggedIn event

Login (COM API)