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.