BBjAppConfig::getInterpreterUser

Description

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

Syntax

Return Value

Method

string

getInterpreterUser()

Parameters

None.

Return Values

Return the interpreter user name.

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::getInterpreterUser

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

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setInterpreterUser

BBjAppServer

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