public interface UserApi
Modifier and Type | Method and Description |
---|---|
User |
get(String userId)
Retrieve information about a user, by user ID
|
User |
getByName(String userName)
Retrieve information about a user, by user name
NOTE: currently not working in openstack ( https://bugs.launchpad.net/keystone/+bug/956687 )
|
PagedIterable<User> |
list()
Retrieve the list of users
NOTE: this method is not in API documentation for keystone, but does work
|
PaginatedCollection<User> |
list(PaginationOptions options) |
Set<Role> |
listRolesOfUser(String userId)
Retrieves the list of global roles associated with a specific user (excludes tenant roles).
|
Set<Role> |
listRolesOfUserOnTenant(String userId,
String tenantId)
List the roles a user has been granted on a specific tenant
|
@Named(value="user:list") PagedIterable<User> list()
@Named(value="user:list") PaginatedCollection<User> list(PaginationOptions options)
@Named(value="user:get") @Nullable User get(String userId)
@Named(value="user:getByName") @Nullable User getByName(String userName)
@Named(value="user:listRolesOfUser") Set<Role> listRolesOfUser(String userId)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.