You need to sign in to do that
Don't have an account?
![Admin DNA Admin DNA](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
get client ip in community component for guest users
Hi, is there a way to get the ip address of the connected guest user?
I try the below code but it works for the logged user but returns null for the guest users:
I try the below code but it works for the logged user but returns null for the guest users:
@AuraEnabled public static String GetUserIPAddress() { string ReturnValue = Auth.SessionManagement.getCurrentSession().get('SourceIp');