Topic Path: Symbol Reference > Structs, Records, Enums > TIdNNTPPermission Enumeration
ContentsIndexHome
PreviousUpNext
TIdNNTPPermission Enumeration

Represents the posting permissions granted to the NNTP client.

File
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.