Only minimal permissions are required to access the History Database. There is a sample script HDB_Create_Login_User_Role.sql on the One Identity Manager installation media in the HDB\dvd\AddOn\SDK directory.
The script allows you to set up a database user with minimal permissions for read access and a database user for write access. You can use these database users when setting up the connection to History Database in the TimeTrace.
Run the script with a suitable program for carrying out SQL queries on the History Database.