I want to run a query on the 'PermissionSetAssignment' object but I want get the name of the permission set and user instead of their ids.
SELECT IsActive, Id, PermissionSetId.Name, PermissionSetGroupId.Name, AssigneeId.Name FROM PermissionSetAssignment
I wrote the query above but it is throwing error. I also tried AssignedId__r.Name but it did not work.
Didn't understand relationship 'AssigneeId' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.