ParamCount: Integer;
The ParamCount property returns the total number of the user parameters.
Sub Main;
Var
MB: IMetabase;
LoS: ILogonSession;
Mu: IMetabaseUser;
SPUD: ISecurityPackageUserData;
i: integer;
Begin
MB:=MetabaseClass.Active;
LoS:=MB.LogonSession;
Mu:=Los.User;
SPUD:=Mu.PackageData;
i:=SPUD.ParamCount;
End Sub Main;
After executing the example, the "i" variable contains the total number of user's parameters.
See also: