Hi @Fernando Almeida ,
Thank you for posting your query on Microsoft Q&A. I am Saiteja from Q&A will be assisting you with your query.
Based on your query, here is my understanding: You would like to know if there is any possibility to retrieve implicit role assignments for a given scope using SDK.
I have checked with available documents and found there is no filter or an option to provide the implicit role assignment for any given scope using SDK. As you have mentioned, List role assignments is possible from Azure portal, CLI, PowerShell and RestAPI. These are the available methods to retrieve the role assignments in Azure. This is because of the complexity and vast possibilities of customization of roles with various (eg: Subscriptions, Resources groups and resources). There are also Deny assignments which is another customization opted for the resources and subscriptions which would explicitly hefty task to perform using an SDK.
Here is the document which continues with all the possible ways of finding the role assignments for any given scope.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment"