Capturing Local User IP Is Not Working!

(Doc ID 2141106.1)

Last updated on MAY 23, 2016

Applies to:

Siebel CRM - Version 15.6 [IP2015] and later
Information in this document applies to any platform.

Goal

On : 15.6 [IP2015] version, Siebel VB / eScript / COM

REQUIREMENT:
*****************
Capture and store the User's local IP @ custom table i.e. to capture the machine IP from where a user is getting logged in in siebel application.

Steps done:
 Used BS "Web Engine HTTP TXN" and method GetAllServerVariables.
 SAMPLE Code:
 

Where field CBiO2 IP Details is a field of BC "CBiO2 LogIn-Out Tracking", Type DTYPE_TEXT and length 500.
Surprisingly OS.GetProperty("REMOTE_HOST") is not returning any value in local and is server it is not updating the value and closing the application.

QUESTION:
**************
How to get the IP address of the machine from where user is getting logged in?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms