You need to sign in to do that
Don't have an account?
geetforce
Fetch Profile (Sharing Rules) based RecordType in Apex
Hi, I have a requirement where I have to create one VF page where I have to show all Record Type (same as standard Record Type selection page) along with some extra fields of Case object. I have implemented it by fetching list of Record Types for Case object by hitting [Select * From RecordType where IsActive = true and SobjectType ='Case' ] Now the problem is, we have few Profile where all record types are not visible and I am not able to filter out these record type based on profile. I tried using "with sharing" keyword but this don't help me too. Here My question is, is there any way to filter out all record type which is visible for Logged In user's profile. Thanks in advance.