CURRENT_IP_ADDRESS
functionsupportedAccounts, users, sessions, warehousesReturns the IPv4 address of the client that submitted the request. This function returns the client’s IPv4 address only. If the client connects over IPv6, this function doesn’t return the IPv6 address. To retrieve the client’s IPv6 address, use the IP_ADDRESS_V6 session property with SYS_CONTEXT:
Syntax
CURRENT_IP_ADDRESS()