ParamCount: Integer;
The ParamCount property returns the number of parameters of the security module.
Sub UserProc;
Var
Package: ISecurityPackage;
SPLD: ISecurityPackageLogonData;
i, c: Integer;
Begin
Package := New StandardSecurityPackage.Create;
SPLD := Package.CreateLogonData("POSTGRES");
c := SPLD.ParamCount;
For i := 0 To c - 1 Do
Debug.WriteLine(SPLD.ParamName(i));
End For;
End Sub UserProc;
After executing the example, a security module used on connecting to servers based on PostgreSQL DBMS is used. The list of security module parameters will be displayed in the development environment console.
See also: