public interface GlobalUserClient extends DomainUserClient
Modifier and Type | Method and Description |
---|---|
User |
createUser(String userName,
String accountName,
String email,
String hashedPassword,
String firstName,
String lastName,
CreateUserOptions... options)
Create an user for an account that already exists
|
Void |
deleteUser(String id)
Delete an user with the specified ID
|
ApiKeyPair |
registerUserKeys(String userId)
This command allows a user to register for the developer API, returning a
secret key and an API key
|
User |
updateUser(String id,
UpdateUserOptions... options)
Update an user
|
disableUser, enableUser, listUsers
User createUser(String userName, String accountName, String email, String hashedPassword, String firstName, String lastName, CreateUserOptions... options)
userName
- unique user nameaccountName
- Creates the user under the specified account. If no
account is specified, the username will be used as the account name.email
- hashedPassword
- Hashed password (Default is MD5). If you wish to use
any other hashing algorithm, you would need to write a custom authentication
adapter See Docs section.firstName
- lastName
- options
- optional argumentsApiKeyPair registerUserKeys(String userId)
userId
- the ID of the userUser updateUser(String id, UpdateUserOptions... options)
id
- the user IDoptions
- optional argumentsCopyright © 2009-2013 jclouds. All Rights Reserved.