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.
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.
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.
Hi Mack,
Check this thread.
community.dynamics.com/.../in-x-bring-the-menu-item-names-from-entry-points-against-its-security-privilege-through-code-in-d365
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.
When you check Alex's reply, there is a portion for X++.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 596 Most Valuable Professional
André Arnaud de Cal... 570 Super User 2025 Season 2
CU05031448-0 556