BBjAppConfig::setInterpreterUser

Description

In BBj 12.0 and higher, this method sets the interpreter user name, which corresponds to the BBj -u command line parameter.

Syntax

Return Value

Method

void

setInterpreterUser(string username)

Parameters

Variable

Description

username

The BBjServices user name.

Return Values

None.

Remarks

The BUI application can retrieve this value using the INFO(3,2) function.

The interpreter user name controls data server access privileges.

Example

rem ' BBjAppConfig::setInterpreterUser

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setInterpreterUser(System.getProperty("user.name"))
print "setInterpreterUser: ",appConfig!.getInterpreterUser()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getInterpreterUser

BBjAppServer

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