Skip to Content
0
Former Member
Sep 14, 2007 at 11:34 AM

Hostname and windows user

35 Views

Hi

We are developing an application in sap portal NetWeaver 2004s SPS 11 and need the client windows logged user and the machine hostname.

We have found the way to obtain the IP, this way

WDProtocolAdapter.getProtocolAdapter().getRequestObject().getClientHostAddress();

The method WDProtocolAdapter.getProtocolAdapter().getRequestObject().getClientHostName() returns the IP in the same way that the other method.

Somebody knows as I can obtain these parameters? Thanks beforehand