O'Reilly logo

Mastering Microsoft Dynamics AX 2012 R3 Programming by Mat Fergusson, Simon Buxton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating roles

As with duties, creating roles is a simple process and we have already covered most of the concepts. The role has four nodes:

  • Duties
  • Privileges
  • Permissions
  • Sub Roles

The Sub Roles node is interesting, as it allows us to create a nested role. The parent inherits the attributes from the Sub Roles node, and can tailor them further.

Note

You can have only three levels of roles. The warning AX gives you only counts roles that have the Enabled property set to Yes; but the compiler requires that three is the maximum level, regardless of whether or not it is enabled.

The three-level limit may seem to be a limitation at the first glance, but Sub Roles are actually rarely used. They tend to bring more complexity than benefits.

In our case, we will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required