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
SuriSuri 

Query RecordType IDs assigned to Profile

Hi

 

I have a specific Account Record Type assigned to Standard User.

 

Is there anyway to Query the Record Type ID based on the Profile to which it is assigned?

 

I know i can Query all Record Types in the database using:

 

[SELECT Id, Name, SobjectType FROM RecordType]

 

But is it possible to do this query based on the Profile Id?