BBjCommandLineObject::setInterpreterUser

Description

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

Syntax

Return Value

Method

void

setInterpreterUser(string name)

Parameters

Variable

Description

name

Specifies the BBjServices username.

Return Value

None.

Remarks

In a traditional BBj SCALL, it is specified as –u<username>.

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.