BBjAppConfig::clearDisallowConsole

Description

In BBj 19.10 and higher, this method clears any application-specific setting for whether console access should be disallowed for this application, and uses the server's default setting instead.

Syntax

Return Value

Method

void

clearDisallowConsole()

Parameters

None.

Return Value

None.

Remarks

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

Example

rem ' BBjAppConfig::clearDisallowConsole

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 "BBjAppConfig clearDisallowConsole()"
appConfig!.clearDisallowConsole()
print "BBjAppConfig getDisallowConsole: ",
print appConfig!.getDisallowConsole()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::clearDisallowConsole

BBjAppConfig::getDisallowConsole

BBjAppConfig::setDisallowConsole

BBjAppServer::getDisallowConsole

BBjAppServer::setDisallowConsole

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