Get Number of Active Users In a Profile Using SOQL Query
SOQL Query:
SELECT COUNT(Id) FROM User WHERE IsActive = true AND Profile.Name = 'System Administrator'
Note: Change the Profile Name as per your requirement.
SOQL Query:
SELECT COUNT(Id) FROM User WHERE IsActive = true AND Profile.Name = 'System Administrator'
Note: Change the Profile Name as per your requirement.