|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserApi
Provides access to the Keystone User API.
| Method Summary | |
|---|---|
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 ) |
org.jclouds.collect.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 |
| Method Detail |
|---|
@Named(value="user:list") org.jclouds.collect.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)
@Named(value="user:listRolesOfUserOnTenant")
Set<Role> listRolesOfUserOnTenant(String userId,
String tenantId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||