BBjAppConfig::setDisallowConsole

Description

In BBj 19.10 and higher, this method sets whether this BUI app should disallow console access.

Syntax

Return Value

Method

void

setDisallowConsole(boolean disallowConsole)

Parameters

Variable

Description

disallowConsole

 A boolean indicating whether to disallow console access.

Return Value

None.

Remarks

Disallowing console access is recommended for end-user production applications.

Example

rem ' BBjAppConfig::setDisallowConsole

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setDisallowConsole(0)
print "BBjAppConfig setDisallowConsole: ",
print appConfig!.getDisallowConsole()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::clearDisallowConsole

BBjAppConfig::getDisallowConsole

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