How to Check User Login Sessions in ServiceNowSummary<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } This article explains how administrators can view and monitor user login sessions in ServiceNow. It covers checking active user sessions, login history, and session details using standard tables, database views, and scripts. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } N/A Instructions<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Method 1: View Active User Sessions (Recommended) Steps: In the Filter Navigator, type sys_user_session.list and press EnterORNavigate to User Administration → Sessions The list displays: UserSession start timeLast accessed timeIP addressBrowserActive status Common Filters: Active = true → Displays users currently logged inUser = [User Name] → Displays sessions for a specific user Method 2: View Sessions Using v_user_session (Preferred for Reporting) Overview: v_user_session is a database view that combines session and user data. It is useful for reporting, dashboards, and performance-friendly queries. Steps: In the Filter Navigator, type v_user_session.listThis view provides: User name and display nameSession statusLogin timeLast accessed timeIP addressNode information Common Filters: Active = trueUser.user_name = [username] Method 3: View User Sessions from the User Record Steps: Navigate to User Administration → UsersOpen the required user recordRight-click the form headerSelect Related Links → Sessions This shows both active and historical sessions for the selected user. Method 4: Review Login History and Login Attempts Login Attempts (Successful and Failed): Navigate to System Security → Login Attempts Or open syslog_transaction.list This data can be used to review: Successful loginsFailed login attemptsAuthentication source and IP address Method 5: Check Sessions Using a Background Script Note: Admin access is required. Query Active Sessions Using sys_user_session var session = new GlideRecord('sys_user_session'); session.addQuery('active', true); session.query(); while (session.next()) { gs.print( session.user.name + " | " + session.ip_address + " | " + session.last_accessed ); } Query Active Sessions Using v_user_session var session = new GlideRecord('v_user_session'); session.addQuery('active', true); session.query(); while (session.next()) { gs.print( session.user_name + " | " + session.ip_address + " | " + session.last_accessed ); }