Book Image

Microsoft Dynamics AX 2012 R3 Security

By : Ahmed Mohamed Rafik Moustafa
Book Image

Microsoft Dynamics AX 2012 R3 Security

By: Ahmed Mohamed Rafik Moustafa

Overview of this book

Table of Contents (12 chapters)

Creating the policy


Now we have to create the policy itself. Follow these steps:

  1. Right-click on AOT and go to Security | Policies. Select New Security Policy.

  2. Adjust the PrimaryTable property on the policy to VendTable.

  3. Settle the Query property on the policy to VendProfileAccountPolicy.

  4. Adjust the PolicyGroup property to Vendor Self Service.

  5. Settle the ConstrainedTable property to Yes to secure the primary table using this policy.

  6. Adjust the Enabled property to Yes or No, depending on whether or not you want to control the policy.

  7. Settle the ContextType property to one of the following:

    • ContextString: Adjust the property to this value if a global context is to be used with the policy. After using ContextString, it needs to be set by the application using the XDS::SetContext API.

    • RoleName: Adjust the property to this value if the policy should be applied only if a user in a specific role needs to access the constrained tables.

    • RoleProperty: Adjust the property to this value if the policy is to...