Get the Count of Active Users #inSalesforce

Get the Count of Active Users #inSalesforce


SELECT count(Id) FROM User where IsActive = true


Similarly, for other records like:

SELECT count(Id) FROM Account where Rating = 'Hot'

Comments