Skip to main content

Notifications

Business Central forum
Answered

Unable to Restrict Role Visibility in Dynamics 365 Business Central

Posted on by 6

Hi All,

I need some assistance.

In Dynamics 365 Business Central, all roles are currently visible to all users. However, I want to configure it so that users can only see the role assigned to them, rather than all available roles.

Note: Navigate to Business Central -> Top right -> Gear icon -> My Settings -> Available Roles

Thanks,

Renjeesh.

  • Verified answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 1,585 on at
    Unable to Restrict Role Visibility in Dynamics 365 Business Central

    Hi Rajneesh,

    Instead of doing it personalized/design for each sandbox and each user, it would be better to implement it through coding. We can modify the user settings page as outlined below.

     
     
    O/p:
     
    Regards,
    Khushbu Rajvi
  • CU26090608-0 Profile Picture
    CU26090608-0 6 on at
    Unable to Restrict Role Visibility in Dynamics 365 Business Central
    Hi Umut Dogan Koc,
     
              Are there any documents or tutorials available for learning AL Language and Business Central action code, tables, models, fields, and layout? Any resources would be helpful.
     
    Thank you,
    Renjeesh
  • CU26090608-0 Profile Picture
    CU26090608-0 6 on at
    Unable to Restrict Role Visibility in Dynamics 365 Business Central

    Hi Umut Dogan Koc,

                      Could you please provide some guidance on how I can achieve this? Your assistance would be greatly appreciated.

    Thank you,
    Renjeesh

  • Umut Dogan Koc Profile Picture
    Umut Dogan Koc 18 on at
    Unable to Restrict Role Visibility in Dynamics 365 Business Central
    Hi Renjeesh,
     
    Yes, you can hide three-dot so users can't reach list of the profiles, but they only can see their existing role.
     
    But that option requires a little development.

    Best Regards.
  • CU26090608-0 Profile Picture
    CU26090608-0 6 on at
    Unable to Restrict Role Visibility in Dynamics 365 Business Central
           Thank you so much for your answer is we can hide only the three-dot from the field means edit box ?

    thanks,
    Renjeesh.
  • Suggested answer
    Umut Dogan Koc Profile Picture
    Umut Dogan Koc 18 on at
    Unable to Restrict Role Visibility in Dynamics 365 Business Central
    Hello,
     
    You can hide Role field completely for each profile by customizing profile pages. 
     
    Search => Profiles(Roles) => Customize Pages (On Navigation Bar). Then a new window will be opened in design mode. Then you can hide role field for that profile. This can be done for each profie.
     
     
    Additionally, this can be done by extending  page 9204 User Settings in AL , modifiying (UserRoleCenter):
     
     layout
        {
            modify(UserRoleCenter)
            {
                AssistEdit = false;
            }
        }
     
    This disables assistedit feature means that three dots will be disappeared from the page so roles can't be navigated.

    Best Regards.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,500 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,426 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans