Need help to get user count associated with each installed application

nilesh_vaghela1
Tera Contributor
Hello Everyone,

 

I want to get the user count associated with the installed application. I saw one reply on the ServiceNow community and it looks similar but might be table is different.

 

 

Sys_scope API: https://<instance_name>.servservice-now.com/api/now/table/sys_scope?sysparm_limit=100

We are using the "sys_scope" table to get installed application details but I want to number the user count associated with each app.

 

Can you please help me that How can I get number the user count associated with each app?

 

Your prompt attention to this matter is greatly appreciated.
 
Thanks,
Nilesh Vaghela
8 REPLIES 8

Uncle Rob
Kilo Patron

If I'm understanding you correctly, you need a list of users that "can use" an app.
Your app should have a role/roles configured for it.
So your report would just look at users who have that role.

@Uncle Rob Basically, I need a number of users count of each installed app.

i.e. App1 is used by 3 users. App2 is used by 5 users. etc...
So, Is there any REST API available for it? OR IS there any table available to get this users count associated with each app.

 

Thanks.

@Uncle Rob Basically, We need a user list who can access the ServiceNow application. Read operation should work, for those who have roles to access that app.
Based on the above output list we can try to find REST API to get a list of users who can access the application.

shyamkumar VK
Kilo Patron

@nilesh_vaghela1  , go to you sys_metadata.LIST in your Instance Navigator , group by Class and check the Related Tables Associated 

 

Regards,

Shyamkumar

 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar