+ Start a Discussion

Need selected record types of an object

I have 10 active record types in an object. I have given access to 5 record types to my profile. When I query the record types of that object, then I am able to get all the active record types. But I want to receive only those assigned record types of that object. any solution from query or apex code?
This link may help you, which derives record types via describe calls and check with "isAvailable()" to know the accessibity of it

Accessible record types of an object (http://salesforce.stackexchange.com/questions/5063/finding-if-which-users-have-a-record-type-available-to-them-using-soql)

- Regards,