Create users and user permission in AX 2012 from AX 2009


I need to create users and user rights in AX 2012 whatever user list in AX 2009. I am working on the migration project from AX 2009 to AX 2012. How to move all users and user permissions from AX 2009 to AX 2012?

Is there any code available for this?
Please anybody give some idea.


Security models in AX 2009 and AX 2012 are very different and no magic will turn your old setup to abstractions such as duties and roles.

The Security Upgrade Advisor Tool can help you with the upgrade, though.