Tuesday, June 19, 2018

How To Check Active Users In a Profile Using SOQL Query

if you want to find Active users in a profile using the Below simple query, it fetches the active users in a profile.

Query:
SELECT count() FROM User WHERE IsActive = true AND Profile.Name = '<profile_Name>' 

It shows the result in the form of Count.
Please Check the Screen Shot For More Information.


please let us know if you have any queries.
Happy Learning!!

1 comment: