GlideSystem - getSession()

Returns a GlideSession object.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
GlideSession Object A GlideSession object for the current session

Scoped equivalent

To use the getSession() method in a scoped application, use the corresponding scoped method: Scoped GlideSystem - getSession().

var session = gs.getSession();