# TenantSelectorType (Complex Type)

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

Selects an object by comparing tenant information.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
sameAsSubject | property boolean | [0,1] | Selects object/target if it has the same tenant as subject.
includeTenantOrg | property boolean | [0,1] | If set to true then the tenant org (the one which the objects belongs to) is included in the scope.

- ### Items

  - #### sameAsSubject

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Selects object/target if it has the same tenant as subject. Subject must be part of the tenant (must have tenantRef set). This authorization will not select any object if subject tenantRef is empty.

  - #### includeTenantOrg

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

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