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

query all profiles that have access to a record type

Hi All, I need to query all the profiles that have access to a particular record type called "ABD" . How do I query this data?
Nishant Prajapati 10Nishant Prajapati 10
Hi Moink
You can use Metadata API to fetch all the profiles according to Record type visiblity. (http://​
Raj VakatiRaj Vakati

This is possible through Apex, but not SOQL --- and no Metadata API required.  Refer this link 

If you use metadata again its lot of work ..

Thanks both!