Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 12:04 AM
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 12:07 AM
Hi,
something like this
var rec = new GlideRecord('sys_user');
rec.query();
var totalUsers = rec.getRowCount();
Regards
Ankur
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 12:13 AM
Script by Ankur should help but why do you need this? Can't it be checked in User table directly?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 12:20 AM
Seems to be a duplicate question, have provided solution here, did you get chance to see this.?
https://community.servicenow.com/community?id=community_question&sys_id=6f27e4c7db27c110770be6be13961988
Please hit like and mark my response as correct if that helps
Regards,
Musab
Regards,
Musab