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
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
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.
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
Check out my main suggestion: AccessRightsList table.
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.
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.
André Arnaud de Cal...
292,886
Super User 2025 Season 1
Martin Dráb
231,766
Most Valuable Professional
nmaenpaa
101,156
Moderator