
Good day all
For D365, we are developing a product with a number of custom objects. I would like to create a tool allowing a relevant person to quickly see the securities associated with our custom objects (to ensure that appropriate securities have been setup).
In 2012, i made use of something like this to populate a temp table:
SysSecObjectsInRole::GenerateData(userRightsTmp.SecurityRoleAOTName);
When you right click on a form for example, and navigate to 'Addins' and then to 'View related roles'. This form is very helpful:
Does anyone know which tables I can query to retrieve this data?
In SQL I found a few of the tables with links between AOT objects and duties, privileges and permissions. One of them being this table: SECURITYRESOURCEPRIVILEGEPERMISSIONS. Unfortunately I cannot find this table in Visual Studio.
Any input would be greatly appreciated. Thank you in advance.
Kind regards,
Stephen
HI Stephen,
Some of the content in cross references table are stored in serialized xml format. There is no direct way to get all the cross references and permission details.
community.dynamics.com/.../security-metadata-dump-from-dynamics-365-finance-and-operations
If you want to use MenuItem, then you can check Security configuration form to get some information.
Note: Moved to Finance Forum.