Skip to main content

clientAddress ()

Last updated 10/09/2024

Example

The following code sends a notification to the current logged in user with their IP address.

Gets the client address using clientAddress()
function DoLogon(five: Five, context: any, result: FiveError) : FiveError  {
five.sendNotification(five.currentUserKey(), 'Your remote address : ' + five.clientAddress());
return five.success(result);
}