Saturday, January 7, 2012

Non Admin Debugging AX


Steps to allow non admin user to debug
 
·    Assign Role to the user, that requires debugging
System Administration > Common > Users
·    Create a job and add this line
SecurityUtil::sysAdminMode(false);
Executes the job

·    Now the user has the ability to debug.
·    To get your environment back to full admin, re-execute the job in step 7 with a true.

Note: This will not work for EP, Services, direct BC.NET and cases using runas(), as the SecurityUtil::sysAdminMode is limited to the current session.

No comments:

Post a Comment