Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 05:34 AM
Hi Sachit,
this table stores the logged in users "v_user_session"; It stores User and whether the session is Active or not.
once user logs out the entry for that user is removed from this table.
So you can use this table with below query in REST API
Http Method: GET
Endpoint: https://instanceName.service-now.com/api/now/table/v_user_session?sysparm_query=active%3Dtrue
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader