Interface DomainUserApi

  • All Known Subinterfaces:
    GlobalUserApi

    public interface DomainUserApi
    Provides synchronous access to CloudStack User features available to Domain Admin users.
    See Also:
    • 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