How to get user’s security role name using client API in Dynamics 365 CRM
https://www.inogic.com/blog/2020/06/how-to-get-users-security-role-name-using-client-api-in-dynamics-365-crm/