org.jclouds.iam.features
Interface UserApi


public interface UserApi

Provides access to Amazon IAM via the Query API

Author:
Adrian Cole
See Also:

Method Summary
 User get(String name)
          Retrieves information about the specified user, including the user's path, GUID, and ARN.
 User getCurrent()
          Retrieves information about the current user, including the user's path, GUID, and ARN.
 PagedIterable<User> list()
          Lists the users that have the specified path prefix.
 IterableWithMarker<User> list(ListUsersOptions options)
          Lists the users that have the specified path prefix.
 

Method Detail

getCurrent

User getCurrent()
Retrieves information about the current user, including the user's path, GUID, and ARN.


get

@Nullable
User get(String name)
Retrieves information about the specified user, including the user's path, GUID, and ARN.

Parameters:
name - Name of the user to get information about.
Returns:
null if not found

list

IterableWithMarker<User> list(ListUsersOptions options)
Lists the users that have the specified path prefix. If there are none, the action returns an empty list.
You can paginate the results using the parameter

Parameters:
options - the options describing the users query
Returns:
the response object

list

PagedIterable<User> list()
Lists the users that have the specified path prefix. If there are none, the action returns an empty list.

Returns:
the response object


Copyright © 2009-2012 jclouds. All Rights Reserved.