Debugging in Dynamics AX 2012 as a non-admin Role
1. open dynamics as admin
2. add yourself to your favorite role (in addition to admin)
3. shift control w to open a workspace.
4. insert a break point into a well know x++ class that the role accesses.
5. create a new job
6. insert this:
static void NonAdmin(Args _args)
{
securityutil::sysadminmode(false);
}
7. run job
8. control w to open regular workspace (or open it from the menus, sometimes its sticky)
9. Open the form/class via navigation
observe that you can now stop in debugger as "limited" user
与本文相关的文章
- 更新后 Dynamics 365 财务和运营字段丢失 / Dynamics 365 Finance and Operations field missing after update
- D365商业对 Adyen支付和服务连接器的考虑进行修改 / D365 Commerce making changes to Adyen payment and service connector considerations
- Solved: D365 Fields automatically populating on form errantly – Due to a Chrome addin/已解决:D365 字段自动错误地填充到表单上——由 Chrome 插件引发
- D365全屏模式,适用于现代POS(MPOS)/ D365 Full screen mode for Modern POS (MPOS)
- Dynamics 365 / AX 2012 现代/企业版POS’速度扫描’功能 / Dynamics 365/AX 2012 Modern/Enterprise POS ‘Speed Scanning’ feature
- Microsoft 365、Dynamics 365、Office 365 品牌和术语 / Microsoft 365 vs Dynamics 365 vs Office 365 terminology and branding (hopefully) explained