This post is machine-translated. The original post in german language can be found here.

Entitle SysOperation classes with the help of code Permissions

If you want to setup the security for a function, which is based on the Sysperation framework, by using a Code permission, the following steps are necessary:

  1. Create classes
  2. Create menu item (for Controller)
  3. Create Code Permission
  4. Add the method, which should be executed by the framework,  to the Server-Node of this code permission
  5. Add tables to Tables-Node if needed
  6. Change property LinkedPermissionObject to your Code Permission-object and property LnkedPermissionType to CodePermission of your above created menu item
  7. Add menu item to a privilege or a duty as needed

Picture: Step 4

Screenshot

More info at  MSDN.

These post applies to following version:
Dynamics AX 2012

 
 

 

 
 
 
Posts of the actual month
November 2024
MoTuWeThFrSaSu
 123
45678910
11121314151617
18192021222324
252627282930 
 
© 2006-2024 Heinz Schweda | Imprint | Contact | German version | Mobile version
In order to provide you with better service, this site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.