Get the client username and IP address (this howto is deprecated)Tag(s): DEPRECATED
About cookies on this site
We use cookies to collect and analyze information on site performance and usage,
to provide social media features and to enhance and customize content and advertisements.
[local function declaration]
FUNCTION long JagGetUserName &
(ref string uname, long unamelength, ref long returnlenght) &
LIBRARY "libjdispatch.dll"
FUNCTION long JagGetPeerAddress &
(ref string ip, long iplength, ref long returnlenght) &
LIBRARY "libjdispatch.dll"
[powerscript]
string ls_user, ls_ip
long ll_temp
ls_user = space(256)
JagGetUserName(ls_user , 256, ll_temp)
ls_ip = space(256)
JagGetPeerAddress(ls_ip , 256, ll_temp)