BBjAppServer::setDisallowConsole

Description

In BBj 19.10 and higher, this method sets whether BUI apps will disallow console access.

Syntax

Return Value

Method

void

setDisallowConsole(boolean disallowConsole)

Parameters

Variable

Description

disallowConsole

A boolean indicating whether BUI apps should disallow console access.

Return Value

None.

Remarks

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

Example

rem ' BBjAppServer::setDisallowConsole

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
disallowConsole! = appServer!.getDisallowConsole()
appServer!.setDisallowConsole(disallowConsole!)
print "BBjAppServer setDisallowConsole ",disallowConsole!

See Also

BBjAPI

BBjAppServer

BBjAppServer::getDisallowConsole

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