IsAvailable returns false even when the user profile has Record types assigned.

Prototype of code below :

List<Schema.RecordTypeInfo> rt = Case.SobjectType.getDescribe().getRecordTypeInfos();
Map<id,string> rtmap = new Map<id,string>();
for(RecordTypeInfo r : rt)
//add to the map rtmap 
}}  return the rtmap ..

rtmap is null even for user profiles with recordtype access on the case object .For Admin same works fine

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.