BBjApplication::getDisallowConsole

Description

In BBj 19.10 and higher, this method returns a boolean indicating whether console access is disallowed.

Syntax

Return Value

Method

boolean

getDisallowConsole()

Parameters

None.

Return Values

Returns a boolean indicating whether console access is disallowed.

Remarks

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

Example

rem ' BBjApplication::getDisallowConsole

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
vector! = appServer!.getAllAppNames()
if (vector!.size()) then
    for i = 0 to vector!.size() - 1
        appName$ = vector!.get(i)
        app! = appServer!.getApplication(appName$)
        print appName$," getDisallowConsole? ",app!.getDisallowConsole()
    next i
endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjApplication

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