Interface UserService

  • All Known Implementing Classes:
    DBUserServiceImpl

    public interface UserService
    This interface defines all methods for the manipulation of trove database instance users
    Author:
    sumit gandhi
    • Method Detail

      • list

        List<? extends DatabaseUser> list​(String instanceId)
        Returns list of all users for the database instance
        Returns:
        the list of users for the database instance
      • listUserDatabases

        List<? extends Database> listUserDatabases​(String instanceId,
                                                   String userName)
        Returns list of all databases which the user has access to on the database instance
        Returns:
        the list of databases for a user
      • delete

        ActionResponse delete​(String instanceId,
                              String userName)
        Deletes a user for the database instance
        Returns:
        the action response
      • revokeUserDBAccess

        ActionResponse revokeUserDBAccess​(String instanceId,
                                          String userName,
                                          String dbName)
        Revoke user access to a database on the database instance
        Returns:
        the action response