ParamCount: Integer;
The ParamCount property returns the number of parameters of the security module.
Sub Main;
Var
MB: IMetabase;
LoS: ILogonSession;
User: ISecurityConnection;
SPLD: ISecurityPackageLogonData;
i: Integer;
Begin
MB:=MetabaseClass.Active;
LoS:=MB.LogonSession;
User:=LoS.PrimaryConnection;
SPLD:=User.LogonData;
i:=SPLD.ParamCount;
End Sub Main;
After executing the example the "i" variable contains the number of security module parameters.
See also: