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
GCKGCK 

Query Profile with access to a specific Record type

Hello,

I would like to list/query the list of profiles that have access to a specific recordtype.
 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

This cannot be done using a query. You need an Apex code for this.

Please check the similar question answered in salesforce Stack exchange.

https://salesforce.stackexchange.com/questions/5063/finding-if-which-users-have-a-record-type-available-to-them-using-soql

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
GCKGCK
Thank you Praveen,

But the above logic displays Record type access with respect to a user or Profile. We would to display all the profiles which are having access to a record type .
Sai PraveenSai Praveen (Salesforce Developers) 
hi,

I guess we dont have any better way  of implementing this

Thanks,