GetUserNamesList

<< Click to Display Table of Contents >>

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

GetUserNamesList

Declaration

function GetUserNamesList : TStringList;

Description

Returns a TStringList filled with the names of currently connected users on an Apollo Database Server. The user info is displayed as "HHH:NNN", where "HHH" is the connection handle and "NNN" is the user name. The user names are derived from the name used to log into the server.

Delphi Example

// Fills a ListBox with all currently connected user names & gets the count

ListBox1.Items.Assign( ApolloConnection1.GetUserNamesList );

Label1.Caption := 'Connection Count = ' + IntToStr(ListBox1.Items.Count);

 

See Also

User, Password