cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Servlet - How to obtain User Id or IP Address

Former Member
0 Kudos
476

We have successfully used the get property function to retrieve the illumloginname and machine name (IP address) through applets (see example below). When we try this same technique with a servlet, we receive the object is null error message. Is there any way to obtain either the IP address or user name using servlets?

var seluser=document.servlet.getPropertyValue("IllumLoginName");

Thanks,

George Matos

Foster Farms

Accepted Solutions (1)

Accepted Solutions (1)

jcgood25
Active Contributor
0 Kudos
<SERVLET NAME="Illuminator">
<PARAM NAME="QueryTemplate" VALUE="xxxx/yyyy">
<PARAM NAME="Param.1" VALUE="{IllumLoginName}">
<PARAM NAME="Param.2" VALUE="{Machine}">
</SERVLET>

You can confirm what is in the current session with: /XMII/PropertyAccessServlet?Mode=List

Regards,

Jeremy

Answers (0)