static void ToggleAdminMode(Args _args)
{
;
SecurityUtil::sysAdminMode(!SecurityUtil::sysAdminMode());
info(strFmt('Admin mode: %1', SecurityUtil::sysAdminMode()));
}
Note :- Once you restart the AX client, your privileges will be restored to normal.
{
;
SecurityUtil::sysAdminMode(!SecurityUtil::sysAdminMode());
info(strFmt('Admin mode: %1', SecurityUtil::sysAdminMode()));
}
Note :- Once you restart the AX client, your privileges will be restored to normal.
No comments:
Post a Comment