SylvainHauserN2
ServiceNow Employee
ServiceNow Employee

When managing user roles in ServiceNow, it's essential to distinguish between active users and those who have not accessed the system in a long time. The following steps will help you generate a report listing active users assigned to specific roles.

 

 

Steps to Generate the Report

  1. Access the User Roles Module

    • Navigate to the "User Roles" module.
    • Alternatively, type sys_user_has_role.list in the application navigator and press Enter.
  2. Apply Filters to Identify Active Users
    Click the funnel icon to open the filter options and build the following query:

    • User > Activeis true
    • User > Last login timeRELATIVE after 365 days ago
    • User > Web service access onlyis false (excludes API users)
    • Role > Nameis [role name #1]
    • OR Role > Nameis [role name #2]
    • (Add additional roles as needed)
  3. Run the Query

    • Depending on the number of users in your system, the query may take some time to process.
  4. Review the Results

    • The list will display active users with the selected roles, allowing you to verify proper role allocation.

 

Screenshot 2025-03-18 at 10.17.30 am.png

 

Screenshot 2025-03-18 at 10.14.15 am.png

 

Enhancing Role Audits with Custom Reports

This method is especially useful when combined with the custom scan Excel report available from your ServiceNow account team. These reports highlight all roles flagged as Fulfiller, helping you streamline role audits and ensure correct access permissions.

 

 

Published by Sylvain Hauser.

From his internship at ServiceNow in 2007 to his certification as a Technical Architect (CTA), Sylvain has spent most of his professional life leading innovation with ServiceNow.

Version history
Last update:
‎03-17-2025 04:33 PM
Updated by:
Contributors