If we try to change the the owner of record and if new owner don't have access to the record from standard functionality we get "Before you can transfer this record, the new owner needs Read permission on it and related records."
How to we check in apex if user have access to the record type ..
i am checking if user have access have access for that record in place of that i have to check if new owner have access to the record type . . as isAvailable() method check if logedin user have access for those record type . i know there is no direct way to check that. is there any workaround for that.