AnsweredAssumed Answered

Get the client IP in a Webscript called from Share

Question asked by tonyrivet on May 21, 2013
Latest reply on May 27, 2013 by tonyrivet
Hi everyone,

I'm stuck with a little problem here :
I added a new custom action in the Share's document library. This action call a Webscript in which I want to get the client IP address.
Of course, as the webscript is called from Share, the remote address I get from the WebScriptRequest is localhost (, instead of the end user IP address.

I think the only way to get the client IP in my webscript is to pass it as a parameter, but I don't know what is the best way to get this IP address from Share…

How can I do that ?
For example, is there any surf root object which could contain client information ?

Thank you in advance.