Posted inMicrosoft Dynamics 365 F&O
Check if the current user has a specific role or not via X++ in Microsoft Dynamics 365 F&O
To check if the current user has a specific role we will have to write the following code in the appropriate place as per the requirement. UserInfo userInfo; SecurityUserRole securityUserRole;…