cPanel module
LastLogin
1 functions, invoked through the cpanel_uapi tool.
scope cpanel:uapi
Call any function with
cpanel_uapi(service_id, module="LastLogin", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.get_last_or_current_logged_in_ip GET#
Return last authenticated login IP address
This function returns the IP address of the user who most recently logged in.
No parameters.
Response — normalized as { ok, data, errors[], warnings[] }; data is an array of:
The IP address of the user who most recently logged in.