Notifications
Announcements
No record found.
Hello
Is there a query/code to read the user groups/users associated with a specific object like forms, reports, display menu items etc
Access type like Read, Write, create, Delete etc
something like usergroupid and Accesstype
Thanks
AccessRightsList table might be what you need.
I know that SecurityKeySet allows finding the access type for a particular user or a user group, and a specific element. Take a look at it; maybe there are other methods that would help you with your scenario. And if it isn't a kernel class, you can explore the implementation.
I checked this class. It doesn't take input for objects and read the user groups/users, so wondering if any other class/table has a way to do it.
Check out my main suggestion: AccessRightsList table.
I went ahead and tested by adding this user groups to a test user and the permissions does not reflect the data in this table
Hi Srikanth,
The AccessRightsList table has information about the access permissions. It does not have the information which user is linked to what user group. In the AOT, you can review which table is used for storing the link between user and user group. I don't have a running AX2009 environment to check the table name myself.
Once you found the table name, you can link this with the AccessRightsList table to get your requirement fulfilled.
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 Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 669 Super User 2025 Season 2
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 384 Most Valuable Professional