Internet Direct (Indy)
Home
PreviousUpNext
TIdNNTPPermission Enumeration

Represents the posting permissions granted to the NNTP client.

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

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: 

 

Value 
Meaning 
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.