BBjAppConfig::getDisallowConsole

Description

In BBj 19.10 and higher, this method returns a boolean indicating whether this BUI app is set to disallow console access.

Syntax

Return Value

Method

boolean

getDisallowConsole()

Parameters

None.

Return Value

Returns a boolean indicating whether this BUI app is set to disallow console access.

Remarks

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

Example

rem ' BBjAppConfig::getDisallowConsole

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

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::clearDisallowConsole

BBjAppConfig::setDisallowConsole

BBjAppServer::getDisallowConsole

BBjAppServer::setDisallowConsole

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