GetConnectionID

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloConnection > TApolloConnection Methods >

GetConnectionID

Declaration

function GetConnectionID: String;

 

Description

Returns the connection ID for the current User. A single user can have multiple connections to a server.

Delphi Example

procedure TForm1.GetConnection;

begin

 // get connection IDs to the server for the  

 // various ApolloConnections on the form 

 edUserName.Text := ApolloConnection1.User; 

 with cmbUserConnections.Items do 

 begin 

         AddItem( ApolloConnection1.GetConnectionID ); 

         AddItem( ApolloConnection2.GetConnectionID ); 

 end; 

 

end;