Get client IP address

I want to find out client IP address that have connected to server and store it. Is there have any method to acquire player IP address?
Alternatively, how to check whole server if that ip address already use(mean client whether create new account with same ip address)?
Thank you

Check the list of fields available in the runtime context - one of them is the client’s IP address which you can use as you see fit.

Be careful about storing it though. Depending on the sets of laws your data handling is subject to (GDPR etc, depends on your location and your users) it counts as personal information and you should be careful how you use and store it.

Thank you for answering.