ISecurityPackageUserData.ParamValue

Syntax

ParamValue(Name: String): Variant;

Parameters

Name. User parameter name.

Description

The ParamValue property determines value of the user parameter, whose name is sent by my means of input parameter.

Example

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:

ISecurityPackageUserData