How can I get all the security profiles created for an entity? Is there any API through which I can get the ids or any information about the security profiles which had been created for that entity?
I am able to get all the security roles that had been assigned to a particular user. I want to compare the security profile ids of an entity and the user. If they match, I will check if the security profile has given the user read access to the records found in that entity and the user will be given visibility access to the user.