ParamValue(Name: String): Variant;
Name. User parameter name.
The ParamValue property determines value of the user parameter, whose name is sent by my means of input parameter.
Sub UserProc;
Var
MB: IMetabase;
User: IMetabaseUser;
SPUD: ISecurityPackageUserData;
Begin
MB := MetabaseClass.Active;
User := MB.LogonSession.User;
SPUD := User.PackageData;
Debug.WriteLine(SPUD.ParamValue("DEFAULTTABLESPACE"));
End Sub UserProc;
After executing the example the development environment console displays the parameter value with the DEFAULTTABLESPACE name for the current user.
See also: