BBjApplication::getApplicationUserName

Description

In BBj 12.0 and higher, this method returns the application user name, which corresponds to the BBj -n parameter.

Syntax

Return Value

Method

string

getApplicationUserName()

Parameters

None.

Return Values

Returns the application user name.

Remarks

None.

Example

rem ' BBjApplication::getApplicationUserName

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$," getApplicationUserName: ",
        print app!.getApplicationUserName()
    next i
endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjApplication

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