Merge "Document current_user_id in a release note"

This commit is contained in:
Zuul 2017-11-15 16:21:51 +00:00 committed by Gerrit Code Review
commit 8d56263322
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
---
features:
- Added a new property, 'current_user_id' which contains
the id of the currently authenticated user from the token.

View File

@ -396,7 +396,7 @@ class OpenStackCloud(
cloud = shade.openstack_cloud(cloud='example')
# Work normally
servers = cloud.list_servers()
cloud2 = cloud.connect_as(dict(name='different-project'))
cloud2 = cloud.connect_as_project('different-project')
# Work in different-project
servers = cloud2.list_servers()