[Openstack] list user

Hamza Nissoul mon240155 at gmail.com
Thu Aug 18 13:31:46 UTC 2016


I create a website with php-opencloud/openstack and i want to list user id
and name for demo user, and when i use :

foreach ($identity->listUsers() as $user) {}

that give me error 403 forbidden.

even if my authentication is configured for the demo user:

$openstack = new OpenStack\OpenStack(['authUrl' =>
'http://xx.xx.xx.xx:5000/v3','region'  => 'RegionOne','user'    => [
    'id' => '{user_id_demo}',
    'password' => '{password_demo}',],'scope'   => ['project' => ['id'
=> '{ptojet_Id_demo}']],

]);

someone can help please ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160818/23e9dc58/attachment.html>


More information about the Openstack mailing list