OnLogin Event  
 

The client has successfully authenticated the session.

Syntax

Sub object_OnLogin ( [Index As Integer,] ByVal ClientId As Variant, ByVal UserName As Variant, ByVal Directory As Variant )

Parameters

ClientId
An integer value which uniquely identifies the client session.
UserName
A string that specifies the username.
Directory
A string that specifies the full path to the home directory for the client.

Remarks

The OnLogin event occurs after the client has successfully authenticated itself using the USER and PASS commands.

See Also

AddUser Method, Authenticate Method, OnAuthenticate Event, OnLogout Event