Compartilhar via


Policy for web services

Policy is another security-related feature for the Dynamics GP service. The policy system allows the administrator to control how business objects are created, updated, or deleted through the Dynamics GP service.

Each create, update, and delete or void method has a policy object that is passed with the operation. This policy object specifies the set of behaviors for the operation. Each behavior controls one characteristic for the operation being performed. For instance, the policy for the CreateCustomer method has the behavior named "Create Active Behavior". This behavior controls whether the customer being created is set to the active or inactive state.

Behaviors are classified as internal or external. An internal behavior is one that can be specified by only the Web Services for Microsoft Dynamics GP administrator. An external behavior is one that can be specified by the application that is calling the method and passing in the policy object. Policy is configured using the Dynamics Security console. You will learn more about specifying behaviors from within your web service application in Policy.