# OwnedObjectSelectorType (Complex Type)

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

Supertype: SubjectedObjectSelectorType
Selects some objects from all the objects in midPoint. This is an extension of SubjectedObjectSelectorType that adds criteria that for objects that can be owned (resource objects, roles, etc.)

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
description | property string | [0,1] |
type | property QName | [0,1] | Type of the object to select.
subtype | property string | [0,1] | Subtype of the object to select.
orgRef | reference ObjectReferenceType | [0,1] | Top node of an organizational hierarchy.
filter | property SearchFilterType | [0,1] | Filter that an object must match to be considered selected by this statement.
orgRelation | container OrgRelationObjectSpecificationType | [0,1] | Definition of object with respect to subject membership in organizational hierarchy.
roleRelation | container RoleRelationObjectSpecificationType | [0,1] | Definition of object with respect to subject relation to a role.
archetypeRef | reference ObjectReferenceType | [0,-1] | Definition of object with respect to its archetype.
special | property SpecialObjectSpecificationType | [0,-1] | Defines special object by relative description, such as "self".
allowInactive | property boolean | [0,1] | If set to false (default) the specification will apply only to active relations (e.
owner | container SubjectedObjectSelectorType | [0,1] | The object matches the specification if it has an owner specified by this element.
delegator | container SubjectedObjectSelectorType | [0,1] | The object matches the specification if it has a delegator specified by this element.
requester | container SubjectedObjectSelectorType | [0,1] | The object matches the specification if it has a requester specified by this element.
assignee | container SubjectedObjectSelectorType | [0,1] | The object matches the specification if it has a (current) assignee specified by this element.
relatedObject | container SubjectedObjectSelectorType | [0,1] | The object matches the specification if it has a related object specified by this element.
tenant | container TenantSelectorType | [0,1] | The object matches the specification if it is related to the specified tenant.

- ### Items

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### type

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Type of the object to select.

  - #### subtype

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Subtype of the object to select.

  - #### orgRef

    Flags: RAM

    Multiplicity: [0,1]

    Top node of an organizational hierarchy. This node and all of its subnodes (transitively, unlimited depth) are considered selected.

  - #### filter

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Filter that an object must match to be considered selected by this statement. This filter MUST NOT contain organization unit clauses. It may only contain property clauses, logical operations and so on.

  - #### orgRelation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    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 a manager, etc.

  - #### roleRelation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Definition of object with respect to subject relation to a role. Used to specify authorizations for role approvers, owners and so on.

    EXPERIMENTAL. Use at your own risk.

  - #### archetypeRef

    Flags: RAM

    Multiplicity: [0,-1]

    Definition of object with respect to its archetype.

  - #### special

    Flags: RAM,runtime,AVals:1

    Multiplicity: [0,-1]

    Defines special object by relative description, such as "self".

  - #### allowInactive

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If set to false (default) the specification will apply only to active relations (e.g active delegations). If set to true then the specification will also be applied to inactive relations (e.g. expired delegations). Only partially implemented. Works only for some cases (delegator). EXPERIMENTAL. Use at your own risk.

  - #### owner

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The object matches the specification if it has an owner specified by this element. The "owner" means a focus that has a link to the object. LIMITATION: for search pre-processing this option is supported in a very limited way (only for TaskType.ownerRef and AbstractRoleType.ownerRef and only for "self" owners).

  - #### delegator

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The object matches the specification if it has a delegator specified by this element. The "delegator" means that the object has an active delegation assignment to delegator. LIMITATION: only "self" delegator is supported now.

  - #### requester

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The object matches the specification if it has a requester specified by this element. (So it is applicable only for cases and, in the future, work items.)

  - #### assignee

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The object matches the specification if it has a (current) assignee specified by this element. (So it is applicable only for cases and, in the future, work items.)

  - #### relatedObject

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The object matches the specification if it has a related object specified by this element. (So it is applicable only for cases and tasks and, in the future, work items.)

  - #### tenant

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The object matches the specification if it is related to the specified tenant.