Indy 9 | Content | Index | Reference

TIdNNTPPermission
See Also, Unit: IdNNTP
Represents the posting permissions granted to the NNTP client.

    TIdNNTPPermission = (crCanPost, crNoPost, crAuthRequired, crTempUnavailable);

Unit
IdNNTP
Description
TIdNNTPPermission is an enumerated type that represents the posting permission granted to the NNTP client. TIdNNTPPermission is the type used for the TIdNNTP.Permission property, and can contain one of the following values representing an associated NNTP server response:

- crCanPost - 200 server ready (posting allowed)

- crNoPost - 201 server ready (no posting allowed)

- crAuthRequired - Not used at this time.

- crTempUnavailable - 400 service discontinued

Values in TIdNNTPPermission are used to assigned the permissions granted when TIdNNTP.Connect is used to open a connection to NNTP server and read the herald message.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.