function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
SELECT count(Id) FROM PermissionSetAssignment WHERE Assignee.isActive = true and permissionSet.Name='Test_Permission'
Kindly mark it as the best answer if it works for you.
Thanks & Regards,
Priya Ranjan
If you want only the count, you can just use count(id) to get the count.
Kindly mark it as the best answer if it works for you.
Thanks & Regards,
Priya Ranjan