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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondisableUser
(String userId) Disable a user with a specific IDenableUser
(String userId) Enable a user with a specific IDlistUsers
(ListUsersOptions... options) Lists Users
-
Method Details
-
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
-