Topic Path: Symbol Reference > Classes > TIdFinger Class > TIdFinger Properties > CompleteQuery Property
ContentsIndexHome
PreviousUpNext
TIdFinger.CompleteQuery Property

Identifies the query for the Finger protocol.

property CompleteQuery: String;

CompleteQuery is a String property that represents the the entire Finger query, such as "user@host", to be sent in the Finger method. The CompleteQuery property is provided as a convenience for programs which prompt for a query in this form. CompleteQuery may contain values that permit recursive finger queries on servers that permit this capability, such as: 

 

   test@test.com@example.com

 

Reading the value in CompleteQuery returns the concatenated values in Query and Host in the form: 

 

   query@host

 

Writing a value to CompleteQuery forces the right-most host name to be parsed and stored in the Host property. If no host name is present, or recursive hosts are used in the query, the remainder of the new value is copied to the Query property. 

Use VerboseOutput to indicate if the server should provide detailed output in the response returned by the Finger method.

   // var AFingerL TIdFinger;

   AFinger.Host := 'myisp.net';
   AFinger.CompleteQuery := '/W jblogs@test.com@example.com';
   // Query contains '/W jblogs@test.com'
   // Host contains 'example.com'

   AFinger.Host := 'myisp.net';
   AFinger.CompleteQuery := 'myaccount';
   // Query contains 'myaccount'
   // Host contains 'myisp.net'
Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.