Scoped GlideSession - isLoggedIn()

Returns true if the user is logged in.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True if the user is logged in.

var session = gs.getSession();
var loggedIn = session.isLoggedIn();
gs.info(loggedIn);

Output:

true