Query all Permission Set and all Users assigned to it #inSalesforce

Use this -

SELECT id,Assignee.Id,Assignee.Name,PermissionSetId,PermissionSet.Name from PermissionSetAssignment order by PermissionSet.Name desc

Comments