BBjThinClient::getUserProperties
Description
In BBj 15.0 and higher, this method returns the client-side properties from a given property group.
Syntax
Return Value |
Method |
---|---|
getUserProperties() |
|
getUserProperties(java.util.Collection properties) |
|
getUserProperties(long group) |
|
getUserProperties(long group, java.util.Collection properties) |
Parameters
Variable |
Description |
---|---|
group |
|
properties |
A Collection (e.g. a BBjVector) containing the keys to be returned. If this parameter is null(), contains zero elements, or is omitted, all key/value pairs from the group are returned. |
Return Value
Returns a Map structure of key/value pairs from the specified properties group.
Remarks
In BUI, USER_PROPERTIES_COOKIES maps to browser cookies, USER_PROPERTIES_STORAGE maps to browser local storage, and USER_PROPERTIES_SESSION maps to browser session storage.
In GUI, the three groups map to nodes in a Preferences tree, which doesn't allow keys or values to include any $00$ characters.
If no group is specified, the default value is taken from STBL("!USER_PROPERTIES").
Example
|
See Also
BBjThinClient::getUserProperty
BBjThinClient::setUserProperties
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.