How to get browser information on user login?

JC S_
Mega Guru

We created a custom table to log every time a user logins, we get the information from sysevent and event name is login. Is there anyway we can add browser information to this?

Data is populated via script action on event "login"

var userLogin = new GlideRecord("u_user_login");
userLogin.u_user_name = event.parm1; 
userLogin.u_user = event.user_id; 
userLogin.u_when = event.sys_created_on;
userLogin.u_ip = event.parm2;
userLogin.u_event = event.name; 
userLogin.insert();
5 REPLIES 5

Nikhil Dixit
Giga Expert

Hi JC,

Please go through with following link. I believe it would be helpful for you.

https://community.servicenow.com/community?id=community_question&sys_id=ddf9cb29db5cdbc01dcaf3231f96192e&view_source=searchResult

 

Please mark post correct or helpful based on the response.

 

Regards,

Nikhil Dixit

find_real_file.png

www.DxSherpa.com