Dynamics Ax 2012 AdminMode

When you are working with Ax security is Ax ../4.0/2009 you have tried a bunch of times to login as a test user to see if the security is how it should be.

In Dynamics Ax 2012 we have got a way to disable the adminmode for the user you are using, then you can test the security without logout and login as.


static void SEOSOFT_SysAdminModeDisable(Args _args)
{
SecurityUtil::sysAdminMode(false);
}

static void SEOSOFT_SysAdminModeEnable(Args _args)
{
SecurityUtil::sysAdminMode(true);
}

When you have toggled the ad

Dette indlæg blev udgivet i Dynamics Ax. Bogmærk permalinket.