# Login Information Security / Login Information ## Return last authenticated login IP address - [GET /LastLogin/get_last_or_current_logged_in_ip](https://api.docs.cpanel.net/specifications/cpanel.openapi/login-information/get_last_or_current_logged_in_ip.md): This function returns the IP address of the user who most recently logged in. ## Return web server's hostname - [GET /Variables/get_session_information](https://api.docs.cpanel.net/specifications/cpanel.openapi/login-information/get_session_information.md): This function retrieves a web server's hostname.