Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Read user groups for specific object in AX 2009

(0) ShareShare
ReportReport
Posted on by 312

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

  • Verified answer
    André Arnaud de Calavon Profile Picture
    292,886 Super User 2025 Season 1 on at
    RE: Read user groups for specific object in AX 2009

    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.

  • SKO Profile Picture
    312 on at
    RE: Read user groups for specific object in AX 2009

    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

  • Verified answer
    Martin Dráb Profile Picture
    231,766 Most Valuable Professional on at
    RE: Read user groups for specific object in AX 2009

    Check out my main suggestion: AccessRightsList table.

  • SKO Profile Picture
    312 on at
    RE: Read user groups for specific object in AX 2009

    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.

  • Martin Dráb Profile Picture
    231,766 Most Valuable Professional on at
    RE: Read user groups for specific object in AX 2009

    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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,886 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,766 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans