
BBjApplication::getInterpreterUser
Description
In BBj 12.0 and higher, this method returns the interpreter user name, which corresponds to the BBj -u command line parameter.
Syntax
Return Value |
Method |
---|---|
String |
getInterpreterUser() |
Parameters
None.
Return Values
Returns the interpreter user name.
Remarks
The application can retrieve this value using the INFO(3,2) function.
The interpreter user name controls data server access privileges.
Example
rem ' BBjApplication::getInterpreterUser 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$," getInterpreterUser: ", print app!.getInterpreterUser() next i endif |