# OrgRelationObjectSpecificationType (Complex Type)

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

Definition of object with respect to subject membership in organizational hierarchy. Used to specify authorizations for all objects that belong to an org where the subject is a manager, etc.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
subjectRelation | property QName | [0,1] | Specifies the relation that the subject needs to have to the org for this condition to trigger.
scope | property OrgScopeType | [0,1] | Scope of application that will be used to select objects relative to the reference node.
includeReferenceOrg | property boolean | [0,1] | If set to true then the reference org (the one which the subjects belongs to) is included in the scope.

- ### Items

  - #### subjectRelation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specifies the relation that the subject needs to have to the org for this condition to trigger. This is usually null (member) relation or manager relation.

  - #### scope

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Scope of application that will be used to select objects relative to the reference node. It determines which objects will be selected (those above or below the reference node, shallow or deep, etc.)

  - #### includeReferenceOrg

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If set to true then the reference org (the one which the subjects belongs to) is included in the scope. If set to false then the reference org is excluded from the scope.