Skip to main content
I wanted to write a relation ship query in a single query.
2 respuestas
  1. 21 mar 2016, 19:57

    Not sure abput groups,but you can try something like this :

    SELECT Assignee.Name, PermissionSet.Id, PermissionSet.isOwnedByProfile, PermissionSet.Profile.Name, PermissionSet.Label

    FROM PermissionSetAssignment

    WHERE PermissionSetId

    IN (SELECT ParentId

    FROM ObjectPermissions

    WHERE SObjectType = 'Account' AND

    PermissionsRead = true)

     

    Also check here for more details 

     

    For any Programmatic questions related to this, Please submit to the developer forums at

     

     https://developer.salesforce.com

     

    http://salesforce.stackexchange.com/

     

    where the forums and participants are geared toward programming troubleshooting and support and the users there focus on code so you may get quicker answers as well as a wider variety of options.
0/9000