Password

<< Click to Display Table of Contents >>

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

Password

Declaration

Password: String

Description

The case-sensitive password associated with the User name. If the User and password properties are not specified when connecting and logging in to the server, no table access will be allowed at all. User accounts are set up using the Apollo Server Manager program.

Delphi Example

function TForm1.ConnectToServer( sHost: String ): Boolean;

begin

 ApolloConnection1.Host := sHost; 

 Result := True; 

 try 

         ApolloConnection1.Connect; 

         ApolloConnection1.User := 'SYSDBA'; 

         ApolloConnection1.Password := 'masterkey';

         ApolloConnection1.Login; 

 except 

         ShowMessage( 'Connection failed!' ); 

 end; 

end;

 

See Also

User, Login, OnLogin, OnLogout