function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jaishrijaishri 

users with permission set

I want to create a report / excel  (security model ) to find out how many users have specific permission set .Is there is anyone to find 
AnkaiahAnkaiah (Salesforce Developers) 
Hi Jaishri,

You can query the permissionset using developer console or workbench to find this information.

Use the below query.
SELECT Id, PermissionSetId, PermissionSet.Name, PermissionSet.ProfileId, PermissionSet.Profile.Name, AssigneeId, Assignee.Name FROM PermissionSetAssignment WHERE Assignee.Name = 'JOHN SMITH'

Refer the below help article.
https://help.salesforce.com/s/articleView?id=000383857&type=1

If this helps, Please mark it as best answer.

Thanks!!​​​​​​​