Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >
SetSharedGlobal
Shared global variables are unique to the user and the user's associated session. One user's global variables are not visible to other users. The variables are global to the current user and session only. The SetSharedGlobal property sets a shared user-defined global variable, which may be accessed using GetSharedGlobal.
Syntax
Application.SetSharedGlobal(varName, value)
Argument Description varName String variable or literal containing the name of the shared global variable to set value String variable or literal containing the value to set the variable to setReturns
Not applicable
Used With
COM Data Control, COM Data Server, CORBA Object Manager, Mobile/Dedicated Web Client Automation Server, Server Script
Example
In Siebel VB:
theApplication.SetSharedGlobal "myVar", "FOO"
myVar2 = theApplication.GetSharedGlobal("myVar")In COM:
comVar = SiebelApplication.GetSharedGlobal("myVar", errCode)
SiebelApplication.SetSharedGlobal "myVar", "BLAH", errCodeSee Also
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Object Interfaces Reference Published: 18 June 2003 |