Security key disabled, even for the Admin
When you import a new security key trough a XPO, this new key will be disabled even for the admin group. Since you can’t adjust the security setting for the admin group you can’t use the keys functionality.
There is a verry simple solution for this problem. Open the method \Forms\SysUserGroupSecurity\Methods\isAdmin and force this method to return false.
1 2 3 4 5 6 7 8 9 10 | #admin boolean isAdmin() { /* if (userGroupInfo.Id == #AdminUserGroup && (domainInfo.Id == #AdminDomain || !useDomains)) { return true; }*/ return false; } |
Tags: Dynamics AX, import, Tips & Tricks, X++, XPO
This entry was posted on Thursday, April 23rd, 2009 at 21:06 and is filed under Dynamics AX. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

