Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Table stored security privilege

(0) ShareShare
ReportReport
Posted on by 4,125

Hi experts,

I would like to get a list of the missing privileges for the custom menu items. Is there any table I can get the information from?

Thanks,

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,971 Super User 2025 Season 1 on at
    RE: Table stored security privilege

    Yuji,

    As you mentioned the tag "Development / Customization / SDK", I do assume you are using Visual Studio. When you build your model and enable the option Run Best Practice Checks, menu items without a privilege will be listed in the output. This is also valid for data entities, without a privilege, a privilege not linked to a duty and a duty not linked to a role.

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Table stored security privilege

    Hi Yuji, If I understand your question correctly, you want to get all custom menu items which are not associated with a Security Privilege. You can try this table 'SECURITYRESOURCEPRIVILEGEPERMISSIONS' and Data Entity 'System Security Permissions'.

    Also note that in SECURITYRESOURCEPRIVILEGEPERMISSIONS table, you will find integer values in SecurableType field. In this field, value 1 is for Display menu items, 2 is for Output menu items and 3 for Action Menu Items.

    You can write a x++ or SQL script to achieve your desired results.

    For reference community.dynamics.com/.../in-x-bring-the-menu-item-names-from-entry-points-against-its-security-privilege-through-code-in-d365

  • huijij Profile Picture
    huijij 19,811 on at
    RE: Table stored security privilege

    Hi Yuji,

    Do you mean looking for the standard tables that store security privilege?

    4380.Capture.PNG

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Table stored security privilege

    Hi Yuji,

    Can you elaborate your question?

    Its not clear.

    Thanks,

    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans