Scoped GlideSession - getClientIP()

Returns the client IP address.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The IP address.

var session = gs.getSession();
var addr = session.getClientIP();
gs.info(addr);

Output:

50.59.164.97