BBjThinClient

Description

The BBjThinClient API exposes various methods that interact with the client machine in a thin client environment.

Creation

BBjAPI > BBjThinClient

BBjThinClient may be obtained through the following BBjAPI object method:

Return Value

Method

BBjThinClient

getThinClient()

Methods of BBjThinClient

Return Value

Method

void

browse(string url)

void

browse(string url, string name, string features)

void

clearUserProperties()

clearUserProperties(long group)

int

clientExec(BBjVector commandLine!)

clientExec(BBjVector commandLine!, string workingDir)

clientExec(string commandString)

clientExec(string commandString, string workingDir)

string

getClientBBjVersion()

string

getClientBuildDate()

BBjClientFileSystem

getClientFileSystem()

string

getClientIPAddress()

string

getClientJavaVersion()

string

getClientLocale()

BBjVector getClientLocales()

string

getClientName()

string

getClientOSName()

string

getClientOSVersion()

string

getClientPortID()

java.util.TimeZone

getClientTimeZone()

string

getPublicIPAddress()

Map

getUserProperties()

getUserProperties(Collection properties)

getUserProperties(long group)

getUserProperties(long group, Collection properties)

string

getUserProperty(long group, string key)

getUserProperty(string key)

boolean

isInServerJVM()

void

setClientTimeZone(java.util.TimeZone clientTimeZone)

void

setUserProperties(Map map)

setUserProperties(long group, Map map)

setUserProperties(long group, string samesite, Map map)

void

setUserProperty(long group, string key, string value)

setUserProperty(string key, string value)

setUserProperty(long group, string samesite, string key, string value)

BUI logoRemarks

Browser security restrictions and differences between Java and JavaScript impose some limitations on the BUI implementation of this API. See  BUI: Interacting with client files  for a detailed discussion of the BUI BBjThinClient.

Constants

0

USER_PROPERTIES_COOKIES

1

USER_PROPERTIES_STORAGE

-1

USER_PROPERTIES_SESSION

 

SAME_SITE_DEFAULT

Lax

SAME_SITE_LAX

None

SAME_SITE_NONE

Strict

SAME_SITE_STRICT

Example

tc! = bbjapi().getThinClient()

See Also

BBjAPI

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

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