Package org.jclouds.cloudstack.features
Interface DomainUserApi
-
- All Known Subinterfaces:
GlobalUserApi
public interface DomainUserApi
Provides synchronous access to CloudStack User features available to Domain Admin users.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncCreateResponse
disableUser(String userId)
Disable a user with a specific IDUser
enableUser(String userId)
Enable a user with a specific IDSet<User>
listUsers(ListUsersOptions... options)
Lists Users
-
-
-
Method Detail
-
listUsers
@Named("listUsers") @GET @Consumes("application/json") Set<User> listUsers(ListUsersOptions... options)
Lists Users- Parameters:
options
- if present, how to constrain the list.- Returns:
- Users matching query, or empty set, if no Accounts are found
-
enableUser
@Named("enableUser") @GET @Consumes("application/json") User enableUser(@QueryParam("id") String userId)
Enable a user with a specific ID- Parameters:
userId
- the user ID to enable
-
disableUser
@Named("disableUser") @GET @Consumes("application/json") AsyncCreateResponse disableUser(@QueryParam("id") String userId)
Disable a user with a specific ID
-
-