Another very powerful feature of AX2012 is the automatic assignment of security roles to users based on certain criteria. A security administrator can select rule in "Assign users to roles" form against a particular role. A rule is actually an AOT query that can be created with the help of a developer. An special thing about the query is that the it is modeled with UserInfo table as the first datasource. Dynamic role assignment helps in scenarios where employees are promoted to a different title or designation, in case of inter departmental transfers or when new employees are taken on board.