I am using SOQL to attempt to see which profiles can Reset Passwords.
I am using this SOQL but keep getting error messages in Workbench --
SELECT Id, Name, PermissionsModifyAllData, PermissionsResetPassword, PermissionsUnlockUsers
FROM Profile
WHERE PermissionsResetPassword = TRUE AND PermissionsUnlockUsers = TRUE
Can someone please suggest the correct SOQL so I can pull this data.
#SOQL Queries #Salesforce Developer
4 respostas
Try using just this
SELECT Id, Name, PermissionsModifyAllData, PermissionsResetPasswords FROM Profile