BBjCommandLineObject::setApplicationUserName

Description

In BBj 4.0 and higher, this method sets the application username that the BBjCommandLineObject specifies.

Syntax

Return Value

Method

void

setApplicationUserName(string user)

Parameters

Variable

Description

user

Specifies the application username.

Return Value

None.

Remarks

In a traditional BBj SCALL, this is specified as –n<aliasapplication username>.

Example

rem 'get and set User

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setApplicationUserName("aShaddle")
PRINT myCMD!.getApplicationUserName()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

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