Internet Direct (Indy) Version 9.0.2 Beta
TIdFTPServer.OnAfterUserLogin
Event handler signalled after authentication of a user account.

property OnAfterUserLogin: TOnAfterUserLoginEvent;
Description
OnAfterUserLogin is a TOnAfterUserLogin property that represents the event handler signalled when a user account has been successfully authenticated using UserAccounts in the FTP server implementation. OnAfterUserLogin is signalled from the command replay handler for the FTP PASS command when the user name and password have been read and Authenticated for a threaded client connection using values from UserAccounts.

OnAfterUserLogin canbe used to perform server logging, set default values or file system path based on the user account, or to perform additional processing required to maintain state for the client connection. Note: Applications must assign a procedure to the event handler to allow responding to the event notification.