Internet Direct (Indy) Version 9.0.1 Beta
TIdFTPServer.AnonymousAccounts
Contains account names considered to be "anonymous" accounts on the FTP server.

property AnonymousAccounts: TStringList;
Description
AnonymousAccounts is a TStringList property that contains the account names considered to be "anonymous" or "guest" accounts for the FTP server implementation. If AllowAnonymousLogin is True, anonymous accounts are permitted in the FTP server implementation.

AnonymousAccounts is initialized in the Create constructor, and contains the default values 'anonymous' and 'guest'. Note: By default, AllowAnonymousLogin is set to False in Create.

AnonymousAccounts is freed and released in the Destroy destructor.

AnonymousAccounts is used in the FTP USER command action handler, when the server handles the user name for the account provided in the TIdCommand instance triggering the command action handler. The USER command action handler compares the value found in the TIdFTPServerThread.UnparsedParams against AnonymousAccounts, and sets the UserType and Username for the associated Thread in ASender when the user account is found.

Note: AnonymousAccounts is not used to authenicate anonymous logins in the FTP server implementation when UserAccounts has not been assigned. In this situation, OnUserLogin is signalled to perfrom username and password authentication.