cancel
Showing results for 
Search instead for 
Did you mean: 

How to access client details using API

Former Member
0 Kudos

Hi All ,

We have the Webdynpro application embedded on portal . Now we want to access the client details say the machine name / IP address when ever a user access our application . How can i achieve this using any sort of API (no JSP/Servlet/EJB) .

Could you please help me on this .

Thanks & Regards,

Mitul Adhia.

Thanks & Regards ,

Mitul Adhia

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try this:

String ipAddress = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getClientHostAddress();
String clientHostName = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getClientHostName();

Regards,

Satyajit.

Former Member
0 Kudos

Hi Satyajit ,

Thanks for the prompt response ... i checked it works, but the getClientHostName() results in IP address not the machine name . Could you please let me know is ther any setting is required at client end ???

Thanks & Regards,

Mitul Adhia.

Former Member
0 Kudos

Hi,

Even i am facing the same issue. Any solution?

Regards

Vasu

Answers (0)