X++ Get Admin access

static void AdminOn(Args _args)
{
    SecurityUtil::sysAdminMode(true);
    info("AdminOn");
}


static void AdminOff(Args _args)
{
    SecurityUtil::flushAll();
    SecurityUtil::sysAdminMode(false);
    info("AdminOff");
}

Comments

Popular posts from this blog

AX 2012 DEVOPS Build, Release setup and configuration

AX 2012 Build process using AZURE DEVOPS

What is Microsoft Power Platform?