SOQLs:
SOQL to find users part of the Permission Set:
SELECT Assignee.Name FROM PermissionSetAssignment
WHERE PermissionSetId = ‘0PS8c000003LCCL’
WHERE PermissionSetId = ‘0PS8c000003LCCL’
SOQL to find users part of the Permission Group :
SELECT Assignee.Name FROM PermissionSetAssignment
WHERE PermissionSetGroupId IN ( SELECT PermissionSetGroupId FROM PermissionSetGroupComponent WHERE PermissionSetId = ‘0PS8c000003LCCL’ )
WHERE PermissionSetGroupId IN ( SELECT PermissionSetGroupId FROM PermissionSetGroupComponent WHERE PermissionSetId = ‘0PS8c000003LCCL’ )
Test Admin user was added via Permission Set Group.