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:
Create classes
Create menu item (for Controller)
Create Code Permission
Add the method, which should be executed by the framework, to the Server-Node of this code permission
Add tables to Tables-Node if needed
Change property LinkedPermissionObject to your Code Permission-object and property LnkedPermissionType to CodePermission of your above created menu item
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:
Picture: Step 4
More info at MSDN.