I would like to use a SOQL Query to load what is displayed at a user record, what I want to get is the:
- Permission Set Assignments Related list records
- Public Group Membership Related list records
- Queue Membership Related list Records
I am currently able to retrieve the permission set Related list records for a particular user but I am unable to get the public group and the queue membership related list records,
Here is my query:
SELECT Id, name, (select PermissionSet.Name, AssigneeId
FROM PermissionSetAssignments) from user
Could you please help me adding the missing part in the query to get the queues and the public groups,
Thanks for your help.