Skip to main content
Version: 7.9

system.util.getGatewayAddress

This function is used in Python Scripting.

Description

Returns the address of the gateway that the client is currently communicating with.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.util.getGatewayAddress()

Parameters

None

Returns

String - the address of the Gateway that the client is communicating with.

Scope

Client

Code Examples

Example #1
# This code would open up the gateway config page.
address = system.util.getGatewayAddress()
system.net.openURL("%s/web/config/" % address)