Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Get IP address for an portal user session

Hi all,

I have a requirement where i need to get the following:

-Client's IP address from where an user is connected to the portal.

-Client's IP address from where someone change a user password (also if the DB keeps user who made the changes will be usefull)

-Client´s IP address from where an user blocks his account

I have checked the NWA (WebAdminApp), and there is a session monitoring where i can see the active sessions on portals and the IP where the user is connected to. I just want to know the API used for that and some information that can guide me. I cant find an API to help me with this, if any of you know something or have any information, it will be usefull.



Former Member
Former Member replied

Hi Mariana,

You might want to check the related javadocs:

Code would look something like:

IWDRequest request = WDProtocolAdapter.getProtocolAdapter() .getRequestObject() ;
String clientHostAddress = request.getClientHostAddress();

Hope it helps,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question