function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sreenivasulu AdipudiSreenivasulu Adipudi 

SOQL query to get the Profile permission

Hi everyone,

We are having 100 profiles in our org. We are in the process of org clean up process and wanted to minimize the number of profiles. It is difficult to get data manually and a time-consuming process.
Is there any way to Query or extract All profile - level permissions?

Thanks in advance.
 
Best Answer chosen by Sreenivasulu Adipudi
David Zhu 🔥David Zhu 🔥
You may add the following to Package.xml file and retrieve all profile metadata from the org.
 
    <types>
        <members>*</members>
        <name>Profile</name>
    </types>