web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Unable to Restrict Role Visibility in Dynamics 365 Business Central

(1) ShareShare
ReportReport
Posted on by 18

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.

I have the same question (0)
  • Suggested answer
    Umut Dogan Koc Profile Picture
    87 on at
    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.
  • CU26090608-0 Profile Picture
    18 on at
           Thank you so much for your answer is we can hide only the three-dot from the field means edit box ?

    thanks,
    Renjeesh.
  • Umut Dogan Koc Profile Picture
    87 on at
    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
    18 on at

    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

  • CU26090608-0 Profile Picture
    18 on at
    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
  • Verified answer
    Khushbu Rajvi. Profile Picture
    20,947 Super User 2025 Season 2 on at

    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
    18 on at
    Hi Khushbu,
     
                   thank you so much it working but it hides the field of  all users is we can do this same concept by selected users
     
    Thanks,
    Renjeesh.
  • CU26090608-0 Profile Picture
    18 on at
    Hi Khushbu,          

          Thank you so much! It is working, but it hides the field for all users. Is there a way we can make this work for specific users instead? The idea is to hide the field for some users but keep it visible for others, as we assign roles to users in the User Card or User Settings

    Thanks,
    Renjeesh.
  • Suggested answer
    YUN ZHU Profile Picture
    95,761 Super User 2025 Season 2 on at
    Hi, just use a variable to control the Editable property of this field.
    More details:
     
    Hope this helps as well.
    Thanks.
    ZHU
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,126

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 744 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 674 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans