Skip to main content

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
  1. 24 de abr. de 2025, 00:04

    Try using just this

    SELECT Id, Name, PermissionsModifyAllData, PermissionsResetPasswords FROM Profile
0/9000