how to identify Ip adress logins

ch_naresh207
Giga Expert

Hi Team,

How to identify where users logged ServiceNow Instances like on my home , Hyderabad .

Please provide me the suggestions.

Regards,

Naresh Reddy

1 ACCEPTED SOLUTION

anurag92
Kilo Sage

You can get this info from logged in users under User Admin module. You can fetch the IP address from Session logs as shown below.



find_real_file.png


View solution in original post

5 REPLIES 5

Karthik Reddy T
Kilo Sage

Hi Naresh,



You can restrict or allow user for servicenow instance logins.



Refer the below link may helpful to you.



IP Range Based Authentication - ServiceNow Wiki



IP Address Access Control


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

anurag92
Kilo Sage

You can get this info from logged in users under User Admin module. You can fetch the IP address from Session logs as shown below.



find_real_file.png


Hello Anurag,

 

This provides the user's session ip not the user's Computer (IPV 4 IP address) IP Address . What you mentioned is available in Transaction Log and Event Parm2 field also . I want to know can we get machine IP of Current logged in user ?

Thanks and regards,

 

Kumar Satyam

 

Ujjawal Vishnoi
Mega Sage
Mega Sage

Hi Naresh,



We can check the IP address from the logs from which user logged in. We can also use gs.getSession().getClientIP() to get the client IP address. If we want to do something based on ip address then we can use this in installation exit.



Hope this helps.



Regards


Ujjawal