is there any rest API through which we can get the security role/profile on a record and of a user? Basically, I want to get the security role or profile on a record (eg case, article, etc.) and assigned to a user. But, I want to get the common thing between both. For example, if I am fetching the security role of a user than I also want to get the security role on a record.