if you want to find Active users in a profile using the Below simple query, it fetches the active users in a profile.
Query:
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!!
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.
Happy Learning!!
Thanks very well explained
ReplyDelete