Trying to filter record types in the record type model based on what the logged in user has access to. We are trying to accomplish this by querying all record types in the model, then looping through each row in the model and checking to see if the user has access to that particular row. Can we use isAvailable() in this scenario? If so, how do we use it? We haven’t had any luck finding an example in the community or online.
Any help is appreciated!
Question
How do I use the isAvailable() property on the Record Type Metadata Object?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.