Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

GetSharedGlobal


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 GetSharedGlobal method gets the shared user-defined global variables.

Syntax

Application.GetSharedGlobal(varName)

Argument
Description
varName
String literal or variable containing the name of the global variable

Returns

A string containing the user-defined global variables

Usage

GetSharedGlobal("varName")

retrieves the string set by:

SetSharedGlobal "varName", "stringValue".

Used With

COM Data Control, COM Data Server, CORBA Object Manager, Java Data Bean, Mobile/Dedicated Web Client Automation Server, Server Script

Example

Here is a Siebel VB example:

theApplication.SetSharedGlobal "myVar", "a value"
myVar2 = theApplication.GetSharedGlobal("myVar")

Here is a COM example:

oleVar = SiebelApplication.GetSharedGlobal("myVar", errCode)
SiebelApplication.SetSharedGlobal "myVar", "a value", errCode

See Also

SetSharedGlobal


 Siebel Object Interfaces Reference 
 Published: 18 June 2003