BBjCommandLineObject::getInterpreterUser

Description

In BBj 4.0 and higher, this method returns the user that the BBjCommandLineObject specifies.

Syntax

Return Value

Method

string

getInterpreterUser()

Parameters

None.

Return Value

Returns the user specified by the BBjCommandLineObject.

Remarks

In a traditional BBj SCALL, this is specified as –u<user name>.

Example

rem 'get and set BBjServicesUser

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setInterpreterUser("User47")
PRINT myCMD!.getInterpreterUser()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.