Blame view

sources/3rdparty/rackspace/php-opencloud/docs/userguide/Identity/Tenants.md 531 Bytes
6d9380f96   Cédric Dupont   Update sources OC...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  # Tenants
  
  ## Intro
  
  A tenant is a container used to group or isolate resources and/or identity objects. Depending on the service operator, a tenant may map to a customer, account, organization, or project.
  
  ## Setup
  
  Tenant objects are instantiated from the Identity service. For more details, see the [Service](Service.md) docs.
  
  ## List tenants
  
  ```php
  $tenants = $service->getTenants();
  
  foreach ($tenants as $tenant) {
     // ...
  }
  ```
  
  For more information about how to use iterators, see the [documentation](../Iterators.md).