BBjAppConfig::setApplicationUserName

Description

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

Syntax

Return Value

Method

void

setApplicationUserName(string username)

Parameters

Variable

Description

username

Application user name.

Return Values

None.

Remarks

None.

Example

rem ' BBjAppConfig::setApplicationUserName

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setApplicationUserName("admin")
print "setApplicationUserName: ",
print appConfig!.getApplicationUserName()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getApplicationUserName

BBjAppServer

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