 <span class="p">(</span><span class="nv">$users</span> <span class="k">as</span> <span class="nv">$user</span><span class="p">)</span> <span class="p">{</span>
   <span class="c1">// ...</span>
<span class="p">}</span>
</pre></div>
</div>
<p><a class="reference external" href="https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/Identity/list_users.php">Get the executable PHP script for this example</a></p>
</div>
<div class="section" id="retrieve-a-user-by-username">
<h2>Retrieve a use