GetNewsgroupList is a procedure that requests a list of newsgroups from a news-server. There are two ways to get newsgroups with this procedure. Call GetNewGroups with no parameters and use the
OnNewsgroupList event, or call the GetNewGroups with the AList parameter. AList will then contain the newsgroup data which you can parse with the
ParseNewsGroup procedure in the
IdNNTP.pas unit.