Internet Direct (Indy) Version 9.0.1 Beta
TIdFTPServerThread.Username
Represents the account identity for client connection authentication.

property Username: String;
Description
Username is a String property that represents the account identity used for authenticating the FTP client connection. UserName is read from the client connection and provided to the FTP USER command reply handler used in the FTP server implementation, or to the OnCommandUSER event handler when UserAccounts are not maintained by the FTP server.

When Username contains the value "anonymous" or "guest", the AccessLevel for the client connection is set to idaAnonymousUser. Otherwise, UserAccounts on the FTP server are used to perform account authorization and determine the AccessLevel for the account.