Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

How could i find items populating a privilege ?

Posted on by 419

Hi all,

Actually i'm able to find the privileges needed to access a form by code.

But for my business requirement i need to know also which items compose this privilege.

Is there a way in code to collect all the items populating a privilege ?

Thanksfully.

  • Komi Siabi Profile Picture
    Komi Siabi 12,686 Most Valuable Professional on at
    RE: How could i find items populating a privilege ?

    When you check Alex's reply, there is a portion for X++.

  • Awaxx Profile Picture
    Awaxx 419 on at
    RE: How could i find items populating a privilege ?

    Thank you Komi Siabi

    I red the thread you linked to me is there a way to do it without .Net part ?

    I guess not but i hope it could be a way.

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,686 Most Valuable Professional on at
  • Awaxx Profile Picture
    Awaxx 419 on at
    RE: How could i find items populating a privilege ?

    HI Nuno,

    Thanks for answering, but what i wanna do is doing it by code and collect the items name in a custom table where i will associate each privilege to its own items.

  • nunomaia Profile Picture
    nunomaia 10,684 Super User 2024 Season 1 on at
    RE: How could i find items populating a privilege ?

    I'm not sure if this is what you want. If you right click in privilege inside click Visual, and select find references, you will see where is used.  

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans