• Manish S 8
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 5
    Replies
Hai i m a beginner in apex. I want to add 2 SOQL queries onto a map. 1st query returns a list of profile names:[SELECT name FROM Profile]   2nd query returns a list of fieldpermissions i.e fieldname,permissionedit,permissionread&sobjectType:[SELECT field,PermissionsEdit,PermissionsRead,sObjectType FROM FieldPermissions where parentid in(select id from permissionset where profileid in profile)
I want to retrieve all the fieldpermissions list with respect to each profile name. Can anyone help me with the code ?