From my local Infor programmers guide:
function long get.client.ip.address (ref string ip.address)
Get the IP address of the local client. In case of Baan Windows this is the client machine on which BW is running. In case of Webtop, this is the client machine on which the Internet Browser is running
ref string ip.address Output argument which will contain the IP address of the client on return of this function.
true Function succeeded, IP adress is filled.
false Function failed, client IP address is unknown.
This function can be used in all script types.