Where to find login information of "Web services Access Only" users ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
9 hours ago
In ServiceNow there is a table called User Login Histories (sys_user_login_history) but this table doesn't contain API users login interaction with the instance. Is there any table contains login information of these API users ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi @sieusaopolo15 ,
Can you please navigate to below url
yourInstance.service-now.com/api/now/ui/user/current_user
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
There is a table called syslog_transaction that will give some information
All > System Log > Transactions
The screenshot shows what information there is on the form. Of course the "Created by" would contain the user account used with that web service call into the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
In Servicenow there is no built in table that reliably captures login events for Web services access only users in the same way as the interactive user login history table (sys_user_login_history)........The v_user_session view is documented to hold session details via REST API usage...... If you need to audit API user login/usage you’ll need to enable additional logging (such as via the Transaction Log syslog_transaction, or a custom extension that triggers on the web service methods) and correlate user field names marked Web service access only on sys_user......
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
