+ Start a Discussion

Query RecordType IDs assigned to Profile



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?