org.jclouds.openstack.keystone.v2_0.extensions
Interface UserAdminApi


@Beta
public interface UserAdminApi

Provides access to User Administration actions.


Method Summary
 User create(String name, String password)
          Creates a new user
 User create(String name, String password, CreateUserOptions options)
          Creates a new user
 boolean delete(String userId)
          Deletes an user
 User update(String id, UpdateUserOptions options)
          Updates an user
 

Method Detail

create

@Named(value="user:create")
@Nullable
User create(String name,
                           String password)
Creates a new user

Returns:
the new user

create

@Named(value="user:create")
@Nullable
User create(String name,
                           String password,
                           CreateUserOptions options)
Creates a new user

Returns:
the new user

delete

@Named(value="user:delete")
boolean delete(String userId)
Deletes an user

Returns:
true if successful

update

@Named(value="user:updateUser")
@Nullable
User update(String id,
                           UpdateUserOptions options)
Updates an user

Returns:
the updated user


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.