# ProjectionPolicyType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Specification of the way how projections are handled on the resource. This defines the ways how assignments are enforced and so on.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
assignmentPolicyEnforcement | property AssignmentPolicyEnforcementType | [0,1] | Full enforcement is the default setting.
legalize | property boolean | [0,1] | If set to true then the illegal resource objects (e.

- ### Items

  - #### assignmentPolicyEnforcement

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Full enforcement is the default setting.

  - #### legalize

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If set to true then the illegal resource objects (e.g. accounts) will be made legal. Illegal resource object is a linked resource object for which there is no assignment. If this option is set to true then it will automatically add a (direct) assignment for this object.