Retrieve LoggedInUser()'s public IP address

Hi!

I would like to ask if there is a way for Appian to retrieve the Public IP of a loggedInUser(). I am required to have my app be used on-prem only without whitelisting the entire Appian instance that my app's a part of. So my initial idea was to get the public IP of the user and compare this to a set of IPs I'll store - if the IP is cleared then the app can be accessed. 

Hence, my inquiry. However if there is another way to work around my requirement, I am open to your suggestions. 

Thanks!

 

-Jerem

  Discussion posts and replies are publicly visible